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

Looking for a script possibly?

Avatar

Level 3

Is there a way to make text and a number appear numerically.  For example, I have a table where you can add rows and one of the columns is txt with a number.  Can I have that number show up in numeric order each time a row is added?  The text is MR + 1 or so on.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Sure,

use FormCalc in the layoutReady event of the textfield.

     $ = Concat("MR ", $.parent.index + 1)

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Sure,

use FormCalc in the layoutReady event of the textfield.

     $ = Concat("MR ", $.parent.index + 1)

Avatar

Level 3

YES!! thank you so much...this is perfect!!