Hi-
I can use conditionals in my templates like:
<%if State eq 'California'%>
California
<%endif%>
However, is there any conditional that would check if a field contains a phrase rather than being exactly equal to it? For example if the State field included: 'California, Nevada, Arizona' I would like to set up a conditional that would check the following:
<%if State "contains" 'Nevada'%>
Nevada
<%endif%>
Is there an operator similar to 'eq' that would work in place of "contains" above if the field contained the parameter rather than being exactly equal to it?
Any help would be much appreciated...
-rover
I can use conditionals in my templates like:
<%if State eq 'California'%>
California
<%endif%>
However, is there any conditional that would check if a field contains a phrase rather than being exactly equal to it? For example if the State field included: 'California, Nevada, Arizona' I would like to set up a conditional that would check the following:
<%if State "contains" 'Nevada'%>
Nevada
<%endif%>
Is there an operator similar to 'eq' that would work in place of "contains" above if the field contained the parameter rather than being exactly equal to it?
Any help would be much appreciated...
-rover