I am trying to force a user to click one radio button on ym form before they can move to the next page. I have the "Next" button disabled, and when they chose any radio button it should re-enable the Next button. I am using this in combination with php but thought that maybe you could help me out.
I've tried both those methods. the result produced is:
()T1
()T2
()Office
()All
I don't think i wnat refresh becuase in my playing It seems more like a reset button which no information is saved. I've read that the submit action doesn't apply to Radio Buttons. Now I am stuck. Is there anyway to send back the Radio button's Vale back to the form so I can re-enable the Next button
Code:
//these are generated dynamically with Link for more info
<input type=\"radio\" name=$Name value=\"".$Result."\" onclick=\"location.reload(true)\"";
if($Result == $Sel)
echo " checked =\"yes\"";
echo "/><a href=\"/equipinfo.php?ClientName=$CName&ClientLoc=$Addy&EquipName=$Result\" target=\"_new\">".$Result."</a><br>";
//static one
'<input type="radio" name=Comp value="All" onclick=\"document.MyForm.submit()"\"/> All';
//Next Button
<input name="Submit" type=submit value="Next"
<?php if($Comp== "")
echo "disabled=True;";
?>
>
I've tried both those methods. the result produced is:
()T1
()T2
()Office
()All
I don't think i wnat refresh becuase in my playing It seems more like a reset button which no information is saved. I've read that the submit action doesn't apply to Radio Buttons. Now I am stuck. Is there anyway to send back the Radio button's Vale back to the form so I can re-enable the Next button