Hmmm, CGI only returns strings. Sometimes x*1 will give a number (0) even if x is a string ("0")... but I would have said your example should work...

Cheers -Terry
x
On Tue, 28 Nov 2006, Mark Barratt wrote:

Paul Winkler wrote:

This kind of thing is usually a mistaken type assumption.
I bet your radiobutton is setting it to "0" rather than 0.


Thanks. Yes it was. But neither value=0 (which I think is invalid XHTML), nor value="" makes any difference.

Mark Barratt
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to