Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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!!