[Zope-dev] A simple dtml-if question...

E. Seifert e.seifert@gmx.net
Wed, 6 Jun 2001 11:02:20 +0200


Hi Jeff,

Jeff Nielsen wrote:
> How do I construct a dtml-if statement with two conditions joined by "and"
> logic? I want to do something like this:
>
> <dtml-if expr="LoginResults=='Pass'" .and. expr="PATH_INFO=='/'">

Did you try
<dtml-if expr="LoginResults=='Pass' and PATH_INFO=='/'">

Regards
Eric