Activity Forums Salesforce® Discussions How can I get multi functionality of two buttons in single button using controller extensions?

  • Sourabh

    Member
    July 19, 2016 at 9:15 am

    Hi Pranav,

    You can use 'action' and 'onclick' respectively on a single button click.
    For eg.
    <apex:commandButton action="{!savePDF}" onclick="CaptureSignature();" value="Save" id="theButton" />
    This command button doing two different functionality on a single click ie. saving pdf as well as capturing signature.

    Thankyou

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos