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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Incrementing the displayed number of rows in a table

jeanette614
Level 4
Level 4

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.

2 Replies
MorisTM
Level 2
Level 2

Calculate method

var

count = _Row1.count;

this.rawValue

= Row1.index + 1;