Hello, I want to create a custom user drop down field with different options and want those automatically change into pictures.
Under general settings I tried Conditional Statemens for the html output.
For instance:
<xen:if is="{$choice} == x">
<img src="...">
<xen:elseif is="{$choice} == y" />
<img src="...">
<xen:elseif is="{$choice} == z" />
<img src="...">
<xen:else />
<img src="...">
</xen:if>
But then it always shows all the pictures.
Help is highly appreciated.
Best regards!
Under general settings I tried Conditional Statemens for the html output.
For instance:
<xen:if is="{$choice} == x">
<img src="...">
<xen:elseif is="{$choice} == y" />
<img src="...">
<xen:elseif is="{$choice} == z" />
<img src="...">
<xen:else />
<img src="...">
</xen:if>
But then it always shows all the pictures.
Help is highly appreciated.
Best regards!