Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Auto Numbering Table Rows

Avatar

Level 9

In the linked form, I am trying to have the Model numbers increase by 5 with the staring row being 10. The first row works correctly (15) but the next row displays 16 instead of 20. Any help offered is appreciated.

https://acrobat.com/#d=qqeTcs45UOSYHDSkvZX4ng

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

to increase the count by 5 you need to change your script into:

this.rawValue = Row1.ModelStart.rawValue + ((this.parent.index + 1)  * 5);

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

to increase the count by 5 you need to change your script into:

this.rawValue = Row1.ModelStart.rawValue + ((this.parent.index + 1)  * 5);

Avatar

Level 9

Thanks radzmar for your help and prompt reply!

-Don