Re: [Zope] input type="checkbox" name not pushed to zsql method namespace
10 Oct
2000
10 Oct
'00
9:42 a.m.
Francisco =?ISO-8859-1?Q?Jos=E9?= Esteban =?ISO-8859-1?Q?Risue=F1o?= writes:
this is the standard behaviour in a HTML form. To avoid this problem we include an line like this:
<dtml-if "REQUEST.has_key('CheckBox_name')"> <dtml-else> <dtml-call "REQUEST.set('CheckBox_name', 'N')"> </dtml-if>
in the method that receives the form data. Alternatively, you may try a default value in your ZSQL argument list, something like:
Arguments: ... Checkbox=0 ... Dieter
9309
Age (days ago)
9309
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer