If ?
I have made a costom profile field with the following:
Add new: Multiple Selection Checkbox.
Title: Postbit
Description: Show bits of info in the postbit?
Limit Selection: 0
Items Per Line: 1
Options: option 1
option 2
option 3
option 4
option 5
option 6
option 7
option 8
Display Order: 6
Field Required: No
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Which page displays this option?: Options: Other
In a template how do i use an if statement so if option 8 is checked then it will do whatever. And the same for option 1 and all the other options.
NOTE: there are multiple checkboxes in the 1 field and using <if condition="$post[fieldX] == 'option 1'"> didn't work.
|