Magulan Duraipandian

Salesforce

How to display a custom button when checkbox is checked in Salesforce?

Sample code: Visualforce page: <apex:page controller="Sample" ><apex:form >    <apex:pageBlock id="pg" >        <apex:pageblockSection >            <apex:pageblockSectionItem >Check it to view the button:</apex:pageblockSectionItem>            <apex:pageblockSectionItem >                <apex:inputCheckbox value="{!option}" >                    <apex:actionsupport event="onclick" action="{!change}" reRender="pg"/>                </apex:inputCheckbox>                ....

Salesforce

How to send picklist values from one VF page to another?

Sample codes: First Page and its Controller: <apex:page controller="Sample" ><apex:form >    <apex:pageBlock >        <apex:pageblockSection >            <apex:pageblockSectionItem >Select the value to pass:</apex:pageblockSectionItem>            <apex:pageblockSectionItem >                <apex:selectList size="1" value="{!option}" >                    <apex:selectOption itemValue="red" itemLabel="Red"/>                    ....