not checked checkboxes input are not sent by the browser

Giganews Newsgroups
Subject: not checked checkboxes input are not sent by the browser
Posted by:  lehman‚Ķ@col.bsf.alcatel.fr (lehmann)
Date: 1 Jul 2003

Hello,

I discovered that in a form with checkboxes input, if the checkboxe is
not checked, not value is sent in my request by the browser (at least
IE, I think it is ok in NS).
But I my application I need to get the input even if it is not checked
(my form is dynamic and I distinguish the cases: input exists and is
cheched / input exists ans is not checked / input doesn't exists)
I know I could use another input such as textfield, but I wonder if
there is another solution that would allow me to keep the checkboxe
and send it even if not checked.
Thanks for any help!
G.

Replies