Daniel Chudnov writes: > <dtml-if "var1 and var2"> > <dtml-call somefuncNeedingVar1AndVar2> > </dtml-if> <dtml-if var> is equivalent to <dtml-if "_.has_key('var') and var">. Thus, for <dtml-if var1 and var2>, you should use: <dtml-if "(_.has_key('var1') and var1) and (_.has_key('var2') and var2)"> Dieter