function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Michele Kleinhomer 10Michele Kleinhomer 10 

In VF - how to check if a certain value exists in a multi-select picklist

I would like to show/hide records in VF if a value exists in a multi-select picklist.  Typically to render something true or false, I use == to check.  However, I can't do this with a mutli-select picklist.  Thoughts?  I am thinking something like the following needs to happen.

rendered="{!IF(contactskill.areas_of_expertise__c.contains(skill), true, false)}
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Michele, Let us know if it helps.

Please mark it as best answer if the information is that question is removed from an unanswered question and appear as a proper solution.

Rahul Kumar
Michele Kleinhomer 10Michele Kleinhomer 10
This is in VF I doesnt seem like contains works there. Should it?