yeah..unfortunately, i couldn't find of theres any "VAL" or "VALUE" keyword in its TMPL_IF statement to see its value of the field instead of the name of the field instead.
but it's so simple, do you mean html::template can't do an if statement to check for a value of the field? my whole pages were coded with html template..i can't just quit now
Yes, I mean just that. The HTML::Template author felt it was better to make people write Perl code to calculate things like "optionvalue_is_C", "optionvalue_is_D", etc.
But HTML::Template::Expr is module compatible with other HTML::Template syntax that allows you say
<TMPL_IF EXPR="optionvalue eq 'C'">