Simple Validation, Please

Hello,

I cant seem to get the validation on the radio buttons, check boxes and list box to work, ive entered the code which is quite hefty for this but i have to do it like this.

Any assistance to fix this would high appreciated as all this is burning me brain

Kind regards

What exactly you want to validate.
Keep the one default value selected for radio buttons, check boxes and list box.
there is no need to validate. bcoz u already have the values

I want to validate that one of the radio buttons have been selected, a check box has been selected and list box.

See with the attachment when you please send a message pops up for each except those.

i cant figure out why

i think there is no need to validate. just keep some default value checked/selected:

<b>Gender:</b>  
Male: <INPUT Name =“RadOption” TYPE=“radio” checked>
  
Female: <INPUT TYPE=“radio” Name=“RadOption”>

<b>Level:</b></TD>
<TD width=“95” height=“33”>
<select size=“1” name=“Level”>
<option>Select Level</option>
<option selected>TAFE</option>
<option>Under Graduate</Option>
<option>Post Graduate</option>
</select>

<b>TAFE</b><INPUT Name = “ChkBox” TYPE=“checkbox” value=“ON” checked>
 
<b>Business</b><INPUT TYPE=“checkbox” Name = “ChkBox” value=“ON”> 
<b>Science</b><INPUT TYPE=“checkbox” Name = “ChkBox” value=“ON”> 
<b>Nursing</b><INPUT TYPE=“checkbox” Name = “ChkBox” value=“ON”> 
<b>Computing</b><INPUT TYPE=“checkbox” Name = “ChkBox” value=“ON”> <BR>

Goodthinking. thanks for the help J ! now my head has stopped hurting and now dont have to worry about this

thank again

Just over the code and thought about i really need it to validate, here is an example i found but using a different code. Computer Tech Support – Javascript, HTML, Stylesheets, Networking – Software for Math, Physics, and VPN now how do i make my code do that for list boxes, check boxes, and radio.

im going somewhere wrong in the code