function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
marchandojmarchandoj 

Possible to create a custom submit for approval button?

Is it possible to create a custom submit for approval button?

I want to use onclick javascript

Best Answer chosen by Admin (Salesforce Developers) 
Ashish_SFDCAshish_SFDC

Hi Marchandoj, 

 

Yes it is possible, you have to create a APEX class that executes the logic on clicking the custom button and a Visualforce page that overrides the Standard button and displays the Custom button. 

 

Regards,

Ashish