[Zope] HTML forms: how to get the value of an unchecked checkbox?
Morten W. Petersen
morten@thingamy.net
Mon, 7 May 2001 16:36:13 +0200 (CEST)
On Mon, 7 May 2001, Tino Wildenhain wrote:
> Hi Stephane,
>
> one solution is to let zope handle this. Include
> the following into your form:
>
> <input type="hidden" name="sugar:default" value="no">
> <input type="hidden" name="milk:default" value="no">
Something like this perhaps?
<input type="radio" name="sugar:int" value="1"> Yes
<input type="radio" name="sugar:int" value="0" checked> No
Cheers,
Morten