[Zope] dtml-sqlvar type="int" optional

Dieter Maurer dieter@handshake.de
Tue, 27 Aug 2002 22:24:49 +0200


Mike Doanh Tran writes:
 > I have an optional field name "zipcode" in  my form whose type is 
 > an integer. I keep getting an Error:  "Invalid integer value for zipcode"
 > whenever this field is not fill out by the user.
 > 
 > Here's my form name and ZSQL Method:
 > 
 > <input type="text" name="zipcode"  size="5">
 > 
 > ZSQL Method:
 > 
 > <dtml-sqlvar zipcode type="int" optional>
Despite Matt's response, I would call this a bug.

File a bug report into the Collector.


Dieter