Copy link to clipboard
Copied
Hello, I am trying to figure out if you can set one radio button within a group to read only. I know how to make it work for disabling the whole radio button group with the following Mouse Up JavaScript:
this.getField("Style").readonly=true;
Within the "Style" group I have two radio buttons, "A" and "B". How do I alter the above script to just set radio button "A" to read only?
Thank you.
Not possible. The "read-only" property applies to the entire group as a whole.
Copy link to clipboard
Copied
Not possible. The "read-only" property applies to the entire group as a whole.
Copy link to clipboard
Copied
Thank you for the info.
Copy link to clipboard
Copied
I don't know if would help in your situation, but you can hide one or more radio buttons in a group. This would make it unselectable, leaving any unhidden ones selectable.