You need to sign in to do that
Don't have an account?
Rick MacGuigan
render tab label based on multiselect picklist
I can't seem to render a tab label on/off based on the value chosen on a multiselect field called Lines_of_Business__c . The tabs are located on top of the page and the multiselect is towards the bottom.
Any ideas ?
Any ideas ?
<apex:pageBlockSection columns="1" id="section11" title="LOB Information" showHeader="true" > <apex:outputPanel > <b><apex:outputText style="font-style:bold;color:black" value="Line of Business Analysis" /></b> <apex:tabPanel switchType="client" selectedTab="name2" id="theTabPanel"> <apex:tab label="*Work Comp" name="tab1" id="tab1" rendered="{!CONTAINS(Account_Summary__c.Lines_of_Business__c,'WC')}" > </apex:tabPanel> </apex:outputPanel> </apex:pageBlockSection> ..... <apex:actionRegion > <apex:pageBlockSection columns="1" showHeader="false" > <apex:inputField value="{!Account_Summary__c.Lines_of_Business__c}" > <apex:actionSupport event="onchange" reRender="tabOne" /> </apex:inputField> </apex:pageBlockSection> </apex:actionRegion>