Expand my Community achievements bar.

SOLVED

Auto numbering dynamically generated table rows

Avatar

Level 9

On the linked form, I am trying to get the yellow field to display a subset number of the green field. Example: If the first green field displays "1" the first yellow field will display 1.1, and the next yellow field will display 1.2, then 1.3 and so on. When a new topic is generated, the green field displays "2" and the corresponding yellow action items display 2.1, then 2.2, then 2.3, etc...

What am I doing wrong?

https://acrobat.com/#d=XXcSY7cDhuULeoj4*PEgqg

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

This seems to work as you describe it:

this.rawValue = NumericField1.rawValue + "." + (this.parent.index + 1);

However change the field to a Textfield object.

Good luck,

Niall

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

This seems to work as you describe it:

this.rawValue = NumericField1.rawValue + "." + (this.parent.index + 1);

However change the field to a Textfield object.

Good luck,

Niall

Avatar

Level 9

Niall,

That script is exactly what I needed. Thank you so much for your help.

~Don