cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariusz Sieraczkiewicz" <>
Subject More HTML than Cocoon but...
Date Thu, 28 Aug 2003 15:27:44 GMT
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:
For additional commands, e-mail:

View raw message