PDA

View Full Version : profile conditionals


manguish
12-04-2005, 10:08 AM
Right chaps, quick Q re profile conditionals.

I have a profile field used as follows :

<if condition="$post['field3']">
code here
</if>
Works well if the field is filled in.

I now have a simple yes no field - do i so this :

<if condition="$post['field5'] == yes">
code here
<else/>
more code
</if>

Cheers.