skullkrusher
Member
i have a custom user field with id 'hatesetting' and 2 values '15' and '75'
its a choice field with radio buttons
i want to check if the value that was selected by the user is '75'
the problem is that when i select '75' it returns the code in the else part, while it should be returning the code in the if part.
my template:
its a choice field with radio buttons
i want to check if the value that was selected by the user is '75'
the problem is that when i select '75' it returns the code in the else part, while it should be returning the code in the if part.
my template:
Code:
<xf:if is="{$xf.visitor.custom_fields.hatesetting.75}">
//do something
<xf:else/>
//do something else
</xf:if>