fambi
Apr 26th 2006, 12:55 pm
Hi everyone,
Although i can float and doggy-paddle with JS, i am not able to go that deep so your assistance would be most appreciated.
I have a form with 7 groups of radio buttons and each group has 4 options. When any of group 7 is selected, i would like all the other groups to be disabled, but how do i go about it???
This is a simplified version of the form:
<form action="#" method="post">
<input name="a" value="i" type="radio">
<input name="a" value="m" type="radio">
<input name="a" value="n" type="radio">
<input name="a" value="w" type="radio">
<input name="b" value="n" type="radio">
<input name="b" value="i" type="radio">
<input name="b" value="m" type="radio">
<input name="b" value="w" type="radio">
<input name="c" value="n" type="radio">
<input name="c" value="i" type="radio">
<input name="c" value="m" type="radio">
<input name="c" value="w" type="radio">
<input name="d" value="n" type="radio">
<input name="d" value="i" type="radio">
<input name="d" value="m" type="radio">
<input name="d" value="w" type="radio">
<input name="e" value="n" type="radio">
<input name="e" value="i" type="radio">
<input name="e" value="m" type="radio">
<input name="e" value="w" type="radio">
<input name="f" value="n" type="radio">
<input name="f" value="i" type="radio">
<input name="f" value="m" type="radio">
<input name="f" value="w" type="radio">
<input name="all" value="n" type="radio">
<input name="all" value="i" type="radio">
<input name="all" value="m" type="radio">
<input name="all" value="w" type="radio">
</form>
So, when any of the 'all' options are selected, all of the other radio buttons should be disabled.
Thanks for your help all.
Although i can float and doggy-paddle with JS, i am not able to go that deep so your assistance would be most appreciated.
I have a form with 7 groups of radio buttons and each group has 4 options. When any of group 7 is selected, i would like all the other groups to be disabled, but how do i go about it???
This is a simplified version of the form:
<form action="#" method="post">
<input name="a" value="i" type="radio">
<input name="a" value="m" type="radio">
<input name="a" value="n" type="radio">
<input name="a" value="w" type="radio">
<input name="b" value="n" type="radio">
<input name="b" value="i" type="radio">
<input name="b" value="m" type="radio">
<input name="b" value="w" type="radio">
<input name="c" value="n" type="radio">
<input name="c" value="i" type="radio">
<input name="c" value="m" type="radio">
<input name="c" value="w" type="radio">
<input name="d" value="n" type="radio">
<input name="d" value="i" type="radio">
<input name="d" value="m" type="radio">
<input name="d" value="w" type="radio">
<input name="e" value="n" type="radio">
<input name="e" value="i" type="radio">
<input name="e" value="m" type="radio">
<input name="e" value="w" type="radio">
<input name="f" value="n" type="radio">
<input name="f" value="i" type="radio">
<input name="f" value="m" type="radio">
<input name="f" value="w" type="radio">
<input name="all" value="n" type="radio">
<input name="all" value="i" type="radio">
<input name="all" value="m" type="radio">
<input name="all" value="w" type="radio">
</form>
So, when any of the 'all' options are selected, all of the other radio buttons should be disabled.
Thanks for your help all.