[Zope] simple question about <!--#if expr="fieldname = 't'"-->

Tim Cook tim@freepm.org
Mon, 19 Feb 2001 20:37:30 -0600


Donald Braman wrote:
 
> I'm having trouble making a simple text comparison (my very first in Zope).

> <td><!--#if expr="fieldname = 't'"-->yes<!--else-->no<!--#/if></td>


>     (Object: fieldname = 't')
> SyntaxError: (see above)
> 

I think it's because you used the assignment operator '=' instead
of the comparison operator '=='.

-- 
Tim Cook, President - FreePM,Inc. 
http://www.FreePM.com Office: (901) 884-4126
New MedicationManager, Try it now at:
http://www.freepm.org:8080/FreePM