I have a check box and two radio buttons.
<input type="checkbox" name="GA" value="GA"
style="background-color: rgb(239,239,239); color: rgb(239,239,239)">GA<br>
<input type="radio" name="thirty" value="Thirty"
style="background-color: rgb(239,239,239); color: rgb(239,239,239)">\30
<input type="radio" name="thirty" value="Fifty "
style="background-color: rgb(239,239,239); color: rgb(239,239,239)">\50<br>
The issue is when the check box is not checked, even if one of the radio buttons are checked the
value of the radio button should not be passed or set to nothing.
Since radio button cannot be cleared once it is picked i am having problem, the solution i thought
was to put another radio button 'clear' and set its value to nothing but user does not want that.
if checkbox checked then
value of radio button
else
value of radio button is nothing.
I tried to set the form variable 'thirty' to "nothing" from the javascript but did not work.
Any suggestions !
Thanks
Snebe
<input type="checkbox" name="GA" value="GA"
style="background-color: rgb(239,239,239); color: rgb(239,239,239)">GA<br>
<input type="radio" name="thirty" value="Thirty"
style="background-color: rgb(239,239,239); color: rgb(239,239,239)">\30
<input type="radio" name="thirty" value="Fifty "
style="background-color: rgb(239,239,239); color: rgb(239,239,239)">\50<br>
The issue is when the check box is not checked, even if one of the radio buttons are checked the
value of the radio button should not be passed or set to nothing.
Since radio button cannot be cleared once it is picked i am having problem, the solution i thought
was to put another radio button 'clear' and set its value to nothing but user does not want that.
if checkbox checked then
value of radio button
else
value of radio button is nothing.
I tried to set the form variable 'thirty' to "nothing" from the javascript but did not work.
Any suggestions !
Thanks
Snebe