You are here: irt.org | FAQ | JavaScript | Form | Q1623 [ previous next ]
Try:
<script language="JavaScript"><!-- var oneSelected = false; //--></script> <form onSubmit="return oneSelected;"> <input name="r1" type="radio" onClick="oneSelected=true"> <input name="r1" type="radio" onClick="oneSelected=true"> <input name="r1" type="radio" onClick="oneSelected=true"> <input type="submit" value="Submit"> </form>