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

Update adaptive form jcr:title dynamically


Level 1


I have an adaptive form whereby we would like to update the field titles (jcr:title) dynamically (as in at initialise time). I have attached a simple piece of javascript to the initialisation expression

this.setAttribute("Some other title for this field", "jcr:title")

This works brilliantly for a GuideTextBox and when the form is rendered it shows the field title change but it doesn't work for a GuideRadioButton.

Does anyone have any thoughts on why this would be or maybe a better way on achieving this kind of functionality?

2 Replies


Level 10

Is this form not a node in the AEM JCR? Can you not update it with JCR API.


Level 1

The form HTML is being accessed essentially as:-


with the http parameter `alternativeContentSwitch` being used within the init expression to drive one of two different contents for labels