You need to sign in to do that
Don't have an account?
displaying page block sections depending on the field values
AF is an object name it has 3 types of values A, B and C
There are the 3 pageblocksections. I want these three sections to be displayed accordingly
If it has only of type A then display share section rest two should not be displayed that will be achieved by the below code
if it has A and B two sections should be displayed
if it has 2 A's and 3 B's then 2 A sections should be displayed and 3 B sections should be displayed
<apex:outputpanel id="C">
<apex:pageBlockSection title="Card Info" columns="1" rendered="{!CONTAINS(theRequest.Type__c,'C')}">
<apex:outputpanel id="B">
<apex:pageBlockSection title="B Info"
columns="1"
rendered="{!CONTAINS(theRequest.Type__c,'B')}"
collapsible="false">
<apex:outputpanel id="C">
<apex:pageBlockSection title="C Info"
columns="1"
rendered="{!CONTAINS(theRequest.Type__c,'C')}"
collapsible="false">
can any one help me