Forum
perch if - show / hide image
Hi,
I want Perch to show the image only if the user have selceted it, like this:
<perch:if id="showhide" value="show">
<perch:content id="showhide" type="select" options="Vis|show, Vis ikke|hide" allowempty="false" /><img src="img/underskrift.png" alt="" />
</perch:if>
This is working but i dont want it to display "show" on the front end.
Can anybody help :)
Add
suppress="true"
to the select tag.Thanks :-)