PDA

View Full Version : Form not picking up checkboxes



J1mmy
Mar 23rd, 2007, 10:01 PM
I have created a form, and tested it out. It doesnt seem to be picking up my checkboxes within the form.

Here is what the code looks like


WHOIS Lookup<br />
<input name="networktools" type="checkbox" id="networktools" value="checkbox" />

nikkiH
Mar 23rd, 2007, 10:49 PM
For best results, value should probably be something besides "checkbox".
That said, checkboxes are not submitted unless they are checked. It's basic form behavior.
http://www.w3.org/TR/html4/interact/forms.html#h-17.13.2
All "on" checkboxes may be successful.

J1mmy
Mar 23rd, 2007, 11:10 PM
Ah, I think thats becuase...the checkboxes were not checked!

I did'nt know that ;)