That's what a checkbox is supposed to do. Empty checkbox = no value.
You can either test the checkbox and give the variable in the receiving page
the value you want, as John suggested, or use two radio buttons or a select
element with two options instead.
Greg
-----Original Message-----
From: mike [mailto:mihalist80@h...]
Sent: Monday, September 23, 2002 3:56 PM
To: javascript
Subject: [javascript] checkbox problem
please guys i need help.i have a form with some checkboxes but if i dont
complete one of them that ist to say if i leave it empty as it is,the
content(empty) does not moves or goes to the next form.i have an asp
application a site and when i use the command :Request.Form to get the
information from the checkbox this does absolutely nothing.it cannot
transport the content of the checkbox to another html page if the checkbox
is not checked.
does anyone knows how i can solve this problem?can javascript help me?
thanks in advance.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20