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?
Jason, Try: <!--#if foo--> Take care, Chris Larson Changeling, Inc
Zopinators: Many thanks to Chris Laron, and Richard Jones who helped me sort out the boolean thing. The funny thing with DTML is that you have to choose what the false will be ie, 0 or '' or false. And all can work. Thanks guys! Jason Spisak webmaster@mtear.com
participants (2)
-
Chris Larson -
Jason Spisak