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

JavaScript TextField Help

Avatar

Level 1

I'm completely new to JavaScript (please bare with me) and I need to edit the value in a text field.

Here is the value I initially populate the textfield with: OperationBO:TEST,ASSEMBLE-1-CM,#

This is what I would like to end up with on the exit: ASSEMBLE-1-CM

Here is the path to the textfield: PrintContent.#pageSet[0].Page1.Header.BandR.#subform[1].Router.Row1.Operation::exit - (JavaScript, both)

Really appreciate any help that can be provided.

1 Reply

Avatar

Level 7

//add to the exit field. When the cursor leaves the field, the text will change.

this.resolveNode("$").rawValue = "ASSEMBLE-1-CM";