Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Lock a radio button selection

Avatar

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

Avatar

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