Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

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