Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

JavaScript TextField Help


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


Level 7

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

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