How to force a checkbox to set some value
when it's not checked so that the corresponding
request parameter have a proper value.

Why? When updating database table, the field
(bool_field for example)
should be set 0 when false and 1 when true.
I use DatabaseAction to do it autamatically,
but when checkbox is unchecked the HTTP request
doesn't contain bool_field entry.
The code like
<input type=checkbox name=sth value=1>
sets only 'checked value'.


_____________________________
Regards, Mariusz Sieraczkiewicz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to