[Zope] input type="checkbox" name not pushed to zsql method namespace

Dieter Maurer dieter@handshake.de
Tue, 10 Oct 2000 11:42:44 +0200 (CEST)


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