fredi88
Sep 2nd 2006, 10:19 pm
Hi,
I am newbie to all this and I really appreciate all the help out there
I have a form with 4 checkboxes.
I need atleast one of them to be checked before being able to post the form
How can I do this?
This is my simple form
---------------------------
<form name="form1" method="post" action="nextpage.htm" target="_blank">
<p>
<input name="checkbox2" type="checkbox" id="checkbox2" value="1">
Number 1</p>
<p>
<input name="checkbox2" type="checkbox" id="checkbox2" value="2">
Number 2</p>
<p>
<input name="checkbox3" type="checkbox" id="checkbox3" value="3">
Number 3</p>
<p>
<input name="checkbox4" type="checkbox" id="checkbox4" value="4">
Number 4</p>
<input name="Submit" type="submit" >
_--------------------------------------------
Thanks for your help
Fred
I am newbie to all this and I really appreciate all the help out there
I have a form with 4 checkboxes.
I need atleast one of them to be checked before being able to post the form
How can I do this?
This is my simple form
---------------------------
<form name="form1" method="post" action="nextpage.htm" target="_blank">
<p>
<input name="checkbox2" type="checkbox" id="checkbox2" value="1">
Number 1</p>
<p>
<input name="checkbox2" type="checkbox" id="checkbox2" value="2">
Number 2</p>
<p>
<input name="checkbox3" type="checkbox" id="checkbox3" value="3">
Number 3</p>
<p>
<input name="checkbox4" type="checkbox" id="checkbox4" value="4">
Number 4</p>
<input name="Submit" type="submit" >
_--------------------------------------------
Thanks for your help
Fred