Hi all,
Greetings...
I have to validate the radio buttons that i have used..i mean at least one should be selected and if any one is not selected then it should give an alert and form should also not submit..
please find the snippet i have used...
[HTML]<form name = rate method="post" action="Rate_te st.asp">
<input type="radio" value="A" name="u_input"> Excellent
<input type="radio" value="B" name="u_input" >Good
<input type="radio" value="C" name="u_input"> Average
<input type="radio" value="D" name="u_input"> Below Average
<br /><br />
<input name="submit" type="submit" value="Submit" />
</form>[/HTML]
thanks in advance...any help will be appreciated.
Greetings...
I have to validate the radio buttons that i have used..i mean at least one should be selected and if any one is not selected then it should give an alert and form should also not submit..
please find the snippet i have used...
[HTML]<form name = rate method="post" action="Rate_te st.asp">
<input type="radio" value="A" name="u_input"> Excellent
<input type="radio" value="B" name="u_input" >Good
<input type="radio" value="C" name="u_input"> Average
<input type="radio" value="D" name="u_input"> Below Average
<br /><br />
<input name="submit" type="submit" value="Submit" />
</form>[/HTML]
thanks in advance...any help will be appreciated.
Comment