Forum
Multiple cases in perch:if ?
Can I test for multiple cases in '<perch if>'?
For instance, can I test for more than one ID in exists:
<perch:if exists="id_1, id_2, id_3">
<h1>They all exist, huzzah!</h1>
</perch:if>
Can I test for multiple cases in '<perch if>'?
For instance, can I test for more than one ID in exists:
<perch:if exists="id_1, id_2, id_3">
<h1>They all exist, huzzah!</h1>
</perch:if>
Alternatively, can one nest multiple if's?
Nesting definitely works, pretty sure multiples don't
Ah, ok great, thanks! :)
Dexter is correct.