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

Lock a radio button selection


Level 4
I have a form that contains 4 radio buttons. Each button displays its own unique hidden subform when clicked.

Is there a way to show the hidden subform AND lock the selection on the click? The form owner does not want a user to be able to change their selection once made.
1 Reply


Level 4
Another forum was able to provide me with the answer to this question. Thanks to formman!

But in case someone else needs this information from THIS forum, the answer is:

Add the following script to the radio button GROUP. It allows the user to click around the different radion button selections but the moment they click into another field they cannot make a change to the radio button group.

this.access = "readOnly";