Thread tagged as: Question

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">

But I want to check if it is an .xls or an .xlsx (and the same for doc files too).

Terry Upton

Terry Upton 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can't with just one tag.