On 3 Feb 2005 16:01:26 -0800,
lk******@geocities.com wrote:
I've been assuming that with checkboxes
nothing gets submitted to the server if the checkbox is left unchecked.
http://www.w3.org/TR/html4/interact/forms.html#checkbox
' Checkboxes (and radio buttons) are on/off switches that may be toggled by
the user. A switch is "on" when the control element's checked attribute is set.
When a form is submitted, only "on" checkbox controls can become successful.'
http://www.w3.org/TR/html4/interact/...html#h-17.13.2
'17.13.2 Successful controls
A successful control is "valid" for submission. Every successful control has
its control name paired with its current value as part of the submitted form
data set. A successful control must be defined within a FORM element and must
have a control name.'
So, yes, the assumption is correct according to the specs.
--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool