Setting radio button to checked if another is checked
Posted: Thu Aug 12, 2004 12:44 pm
I have a form with two sets of radio buttons, group1 and group2.
On a check of a button in group2, I would like a certain radio button in group1 to be automatically checked.
To get option1 button in group1 to be automatically checked upon a check of option1 button in group2, can I do this?
<input type='radio' name='group2' value='option1' onclick="document.group1.radio1.checked=true;">
On a check of a button in group2, I would like a certain radio button in group1 to be automatically checked.
To get option1 button in group1 to be automatically checked upon a check of option1 button in group2, can I do this?
<input type='radio' name='group2' value='option1' onclick="document.group1.radio1.checked=true;">