You need to sign in to do that
Don't have an account?

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)}
rendered="{!IF(contactskill.areas_of_expertise__c.contains(skill), true, false)}
- May I request you please refer the below link for reference.
- https://developer.salesforce.com/forums/?id=906F000000090NzIAI
Let us know if it helps.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar