Hi, I can't compare a String with a dtml-var variable. <dtml-if expr="REQUEST.has_key('nol') and nol=='<dtml-var id>'"> The following works <dtml-if expr="REQUEST.has_key('nol') and nol=='TheValue'"> Thanks in advance. Erwin