Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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!!