Activity Forums Salesforce® Discussions How can I add an action region to the select radio?

  • Piyush

    Member
    August 14, 2019 at 2:33 am

    Hi Tanu,

    I am referring a code this will  definitely help you:-

    <apex:pageBlockSection title="Add New Account">
    <apex:inputField value="{!acc.Name}"/>
    <apex:inputField value="{!acc.Website}"/>
    <apex:inputField value="{!acc.Phone}"/>
    <apex:actionRegion>
    <apex:selectRadio value="{!kind}">
    <apex:selectOptions value="{!choice}"/>
    <apex:actionSupport event="onchange" reRender="up" action="{!change}"/> <!-- Change will work here -->
    </apex:selectRadio>
    </apex:actionRegion>
    <apex:selectRadio id="up" value="{!fooditem}">
    <apex:selectOptions value="{!offer}"/>
    </apex:selectRadio>
    </apex:pageBlockSection>

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos