[Zope] Boolean
Jason Spisak
webmaster@mtear.com
Tue, 04 May 1999 15:50:35 -0400
Zopsters:
After reading again for a boolean info the DTML docs, I can't seem to
see the best route to test in DTML.
I tried a simple <!--#if "foo is true"-->, didn't work
I thought, since bolean deal with 1 and 0, I'd use
<!--#if "foo==1"--> for true and
<!--#if "foo==0"--> for false. That didn't work either.
If I however used blank or '' as the search criteria it worked, as in
<!--#if "foo==''"--> for true, and nothing for false.
Whats going on with boolean, and can somebody point in the right
direction?
All the best,
Jason Spisak
webmaster@mtear.com