in reply to Re: Can i check various condition in <TMPL_IF> using HTML::Template
in thread Can i check various condition in <TMPL_IF> using HTML::Template

Hai dws
I dont want to do it in cgi, i want it in template
<TMPL_IF a || b || c>
Is it possible
--newbie
  • Comment on Re^2: Can i check various condition in <TMPL_IF> using HTML::Template

Replies are listed 'Best First'.
Re^3: Can i check various condition in <TMPL_IF> using HTML::Template
by dws (Chancellor) on Jan 18, 2005 at 08:56 UTC

    I dont want to do it in cgi, i want it in template ... Is it possible

    No, it is not possible in the current release of HTML::Template. If what you want isn't going to go beyond a simple disjunction, then the trick reneeb lays out below will work, though it's going to involve some duplication in the template that you would avoid by calculating the expression in code.