You need to sign in to do that
Don't have an account?
sansha
What is the event that gets fired when I change an input field of type multiselect picklist
I have the below code. The field Region__c is an input field of type multiselect picklist. Based on the values selected in this field I need to rerender the PageBlockSection under the outputPanel having Id as "Section1". However this does not happen. The onchange event does not get fired. I have tried onmouseover, onclick events as well but none seem to work.
Please suggest.
<apex:PageBlockSection title="Basic Information">
<apex:inputField value="{!Table1__c.Region__c}">
<apex:actionSupport event="onchange" rerender="Section1"/>
</apex:inputfield>
</apex:PageBlockSection>
<apex:actionSupport event="onchange" rerender="Section1"/>
</apex:inputfield>
</apex:PageBlockSection>
<apex:PageBlockSection title="Information">
<apex:inputField value="{!Table1__c.Cash__c}">
<apex:actionSupport event="onclick" rerender="Section1"/>
</apex:inputField>
</apex:PageBlockSection>
<apex:actionSupport event="onclick" rerender="Section1"/>
</apex:inputField>
</apex:PageBlockSection>
<apex:outputPanel id="Section1">
<apex:PageBlockSection title="Details" rendered="{!Table1__c.Cash__c=TRUE}">
<apex:inputField value="{!Table1__c.Field1__c}" rendered="{!CONTAINS(Table1__c.Region__c,'Europe')}"/>
<apex:inputField value="{!Table1__c.Field2__c}"/>
</apex:PageBlockSection>
</apex:outputPanel>
<apex:PageBlockSection title="Details" rendered="{!Table1__c.Cash__c=TRUE}">
<apex:inputField value="{!Table1__c.Field1__c}" rendered="{!CONTAINS(Table1__c.Region__c,'Europe')}"/>
<apex:inputField value="{!Table1__c.Field2__c}"/>
</apex:PageBlockSection>
</apex:outputPanel>