Enable/Disable Radio Button Group with Checkbox state?
I have two groups of radio buttons. The first choice in both groups must always be selected together, checking one will check the other. I changed these first choice fields to checkboxes with the same name so they check together, but I need to have this checkbox disable (read only) the remaining radio buttons when checked, and enable them when unchecked. I applied this checkbox mouseup javascript to make the radio buttons read only, but the radio buttons stay read only if the checkbox is unchecked.
this.getField("X8").readonly=true;
this.getField("X9").readonly=true;
How can I make the radio buttons toggle back to enabled if the checkbox is unchecked?
