You need to sign in to do that
Don't have an account?
Yuvraj Ganesan 15
Render pageblocksection on selection of mutliselect picklist value
Hi All,
I need to show display the pageblocksection based on multiselect picklist chosen.
Say for the example, I have the custom multipicklist field in contact object, where the values are one, two, three.
Whenever i choose "One" Option corresponding page block must be showned.
Whenever i choose or Move "One" option from Available to Chosen, Pageblocksection need to be display.
I need to show display the pageblocksection based on multiselect picklist chosen.
Say for the example, I have the custom multipicklist field in contact object, where the values are one, two, three.
Whenever i choose "One" Option corresponding page block must be showned.
<apex:page standardController="Contact" showHeader="false"> <apex:pageBlock > <apex:pageBlockSection > <apex:inputField value="{!contact.Choose_Number__c}"> <apex:actionSupport event="onchange" reRender="prd" /> </apex:inputField> </apex:pageBlockSection> <apex:pageBlockSection title="Product Test" id="prd" rendered="{!contact.Choose_Number__c == 'One'}"> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:page>
Whenever i choose or Move "One" option from Available to Chosen, Pageblocksection need to be display.
Hello Yuvraj,
Try this one:
I hope it helps you.
Thanks,
Yogesh Sharma
All Answers
Let me know if this helps. Thanks.
Hello Yuvraj,
Try this one:
I hope it helps you.
Thanks,
Yogesh Sharma
Yuvraj,
Your welcome...!!!