Profile Field Options
Does anyone know the values assigned to options
when using the multiple-selection checkbox option?
I was making a profile field of Attendance for Events.
Field: League Attendance:
Option 1
Option 2
Option 3
Option 4
I know how to add a conditional for the field to a template.
<if condition="$post[fieldX"> do something </if>
What I was attempting to achieve was a multiple conditional dependant upon the actual option selection.
<if condition="$post[fieldX option1"> do 1 </if>
<if condition="$post[fieldX option2"> do 2 </if>
Does anyone know the proper way to achieve this?
TY
|