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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

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";