Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Dynamic Tables - not growing the table rows

Avatar

Avatar
Validate 1
Level 1
robertr1124947
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
robertr1124947
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
robertr1124947
Level 1

02-11-2017

I am working with ES4 and trying to create a table that will grow with the use of a button.  I followed an online tutorial that was about 4 years old, but all the steps were valid with my version of LiveCycle.  So I used the table wizard to create a 3 column table with headers.  Next I placed a button next to the table.  I then used the Action Builder tool to create action which was:

Condition: When button Button1 is clicked

Result: Add a new instance of Row1

This resulted in the following code for the button:

this.resolveNode('Table1._Row1').addInstance(1);

if (xfa.host.version < 😎 {

    xfa.form.recalculate(1);

}

When I go to the Preview PDF tab, it has the table and the button, but clicking the button does nothing.  The warnings tab at the bottom has no errors listed.  Any ideas on why it wouldnt be working?  The table and the button are the only items on the form (testing).

View Entire Topic

Avatar

Avatar
Validate 1
Level 1
robertr1124947
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
robertr1124947
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
robertr1124947
Level 1

03-11-2017

Looks like code was written just fine.  Turns out the problem was I was saving the PDF as "Adobe Static XML From" vs "Adobe Dynamic XML Form".  Once I saved it as Dynamic, the table started expanding as expected.  The fun of working with a new product...