hey guys i need a a script that validates forms i'm using the following script [code]<script language="javascript"> function form_Validator(form) { if (form.name.value == "") { alert("Please enter your Full Name."); form.name.focus(); return (false); } if (form.email.value == "") { alert("Please enter your email."); form.email.focus(); return (false); } if (form.comments.value == "") { alert("Please enter your query."); form.comments.focus(); return (false); } return (true); } //--> </script> <form action="mail.php" method="post" onSubmit="return form_Validator(this)"> <div align="center"><span class="style5">Your Full Name:<br><br></span></div> <center><input name="name" type="text" size="40" maxlength="40"> </center> <div align="center"><br> <span class="style5">Your E-mail:<br><br></span></div> <center> <input name = "email" type="text" size="40" maxlength="40"> </center> <div align="center"><br> <span class="style5">Please specify a Subject:</span><br> <br></div> <center><select name="subject"> <option>Ick an option</option> <option>Food</option> <option>Cars</option> <option>Other</option> </select></center> <div align="center"><br><br> <span class="style5">Comments:</span><br> <textarea name="comments" cols="30" rows="8"></textarea> <br> <br> <input type="submit" value="Submit"> <input type="reset" value="Reset"> </div> </form>[/code] ---------------------------------------------------------------------------------------- the problem is i don't know how validate if the user has specified one of the options. and lets say i had a radion button, i want to disable the submit button 'till the user clciks on one of the radion button, (like for example he has to choose the I Agree button for a TOS)- --i hope that makes sense, and please help me Thanks Darko