I'm having problem getting a simple if clause working in the detailed.html template.
I have one field that is a multi-select, and I want to be be able to do the following:
<%if options eq option1%> display option 1 <%endif%>
<%if options eq option2%> display option 2 <%endif%>
<%if options eq option3%> display option 3 <%endif%>
But if more than one option is selected in the multi-select, then nothing is displayed. The "if equal" clause only works if one option is selected.
Any ideas?
I have one field that is a multi-select, and I want to be be able to do the following:
<%if options eq option1%> display option 1 <%endif%>
<%if options eq option2%> display option 2 <%endif%>
<%if options eq option3%> display option 3 <%endif%>
But if more than one option is selected in the multi-select, then nothing is displayed. The "if equal" clause only works if one option is selected.
Any ideas?