-----Original Message----- From: TMGB <bennettt@am.appstate.edu> To: zope@zope.org <zope@zope.org> Date: Friday, September 24, 1999 4:45 PM Subject: [Zope] <dtml-if> question I've never used SQL Methods, but I'm assuming that this works like any other Zope variable... Basically, you need to tell Zope to evaluate an expression, instead of telling Zope to look at a variable. To do this, you either say "<dtml-if expr="add2faq == 'Y'">" or just "<dtml-if "add2faq == 'Y'"> Note the double quotes around the expression.
<td><dtml-if <dtml-var add2faq>='Y'> YES <dtml-else> <form method="get" action="update_add2faq"><input type="checkbox" name="pass_faq" value=<dtml-var ID>><input type="submit" name="add2" value="YES"></form> </dtml-if> </td>
Kevin