Help get this topic noticed by sharing it on Twitter Twitter, Facebook Facebook, or email.
Chris

P&T Multiselect Throwing PHP Error

I have a list of 4 things options. Up to 2 can be selected and will output different icons. Using the P&T Multiselect, I followed the docs to say:

{if {my-field:selected option="red"}}Red{/if}
{if {my-field:selected option="yellow"}}Yellow{/if}

..and so on.

However, the template throws the error: Parse error: syntax error, unexpected ')' in /.../www/www/adm/expressionengine/libraries/Functions.php(656) : eval()'d code on line 282

Any ideas on why?
1 person has
this question
+1
Reply