You need to sign in to do that
Don't have an account?
MissaTXREGN
Render based on value in multi select picklist
I need to render a field based on values in a multi select picklist. Basically if it contains Special Project, then render the special project field. However, I can't use includes in the render formula or so says the error message. Here is what I'm using. Is there another way to do this?
<apex:pageBlockSectionItem rendered="{!Includes(InteractionRequest.Interaction_Type__c, 'Special Project') }"> <apex:outputLabel value="Special Projects" for="{!InteractionRequest.Special_Projects__c}"/> <apex:inputField value="{!InteractionRequest.Special_Projects__c}" required="false" /> </apex:pageBlockSectionItem>
Hi,
You can use the CONTAINS instead of Includes for rendered the page block selection item
For Reference use below code snippet
number__c is a multi select picklist and contain the 1,2,3,4 as values.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.