[Zope] Really dumb newbie question
Jason Spisak
444@hiretechs.com
Tue, 23 May 2000 18:30:46 GMT
Andy Gates writes:
> 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>
>
> and whatever I try, I get "Invalid attribute name, "action", for tag
Try:
<dtml-if "Action=='add'">"
All my best,
Jason Spisak
CIO
HireTechs.com
6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P. 310.665.3444
F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission. Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.