Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
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!!