At 05:01 PM 5/23/00 +0100, you wrote:
This one is so dumb you'll be laughing, but any help would be greatly appreciated.
I need to evaluate an IF. That's all. I have a variable called Action that's a string, and it can be null, "Add", "Update" etc.
I try something along the lines of: <dtml-if action == "add"> blah </dtml-if>
Just try: <dtml-if "action == 'add'"> Inside the " " is a python expression that is evaluated and returns true or false. In case you do not know Python, I would suggest you learn the basic logic, since in Zope all expressions " " are evaluated as Python syntax expressions. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Web2k - Web Design/Development & Technical Project Management