Forum
match="contains" check for multiple values
Hi Guys,
How can I check for multiple values on the match contains within a Perch If statement?
I have this code:
<perch:if id="file" value=".xlsx" match="contains">
XLS
</perch:if>
But I want to check if it is an .xls or an .xlsx (and the same for doc files too).
You can't with just one tag.