Activity Forums Salesforce® Discussions apex:actionSupport is not working for apex:inputField in Salesforce. Why?

  • Manpreet

    Member
    April 26, 2018 at 4:27 pm

    Hi pranav,

    If apex:actionSupport is not working for apex:inputField, use apex:actionRegion.
    Sample Code:
    <apex:actionRegion>
    <apex:inputField value="{!opportunity.stageName}" id="pb">
    <apex:actionSupport event="onBlur" rerender="table" status="status"/>
    </apex:inputField>
    </apex:actionRegion>

    Thanks.

  • Aman

    Member
    April 26, 2018 at 7:48 pm

    Hi Pranav,

    There is problem when using required = true and Immediate = true while using action support,it can be a reason why your action support is not working.  you need to use Action region to achieve the functionality.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos