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

Incrementing the displayed number of rows in a table

Avatar

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
jeanette614
Level 3

16-06-2011

I am using LiveCycle 9.0 and I have made a dynamic table with a button that I have actioned to add a new row. I would like each row to have a number that increments each time the button is clicked to add a new table row on the dynamic pdf. What script do I need to make those numbers appear? I curently have the first cell of the table as a text object and do I select "initialize" "Calculate" what from the script menu?

Please help.

Replies

Avatar

Avatar
Validate 1
Level 2
MorisTM
Level 2

Likes

2 likes

Total Posts

31 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 2
MorisTM
Level 2

Likes

2 likes

Total Posts

31 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
MorisTM
Level 2

16-06-2011

Calculate method

var

count = _Row1.count;

this.rawValue

= Row1.index + 1;

Avatar

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
jeanette614
Level 3

17-06-2011

Perfect!. Thank you so much.