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

Override standard SAVE button on Event

Hello All,

Requirement  : While creating Event record, when user clicks on SAVE(standard) button, need to show a confirmation box to user only if a checkbox is checked on Event. And once user confirms it, an email need to be fired to manager of that user and save the record.

Can we do this using overiding salesforce SAVE with custom button(execute javascript) ?

Best Answer chosen by prafulljagtap1.397556580578114E12
Sushil KaushikSushil Kaushik
Hi Prafull,

     Unfortunately you cannot override save button, it is one of the considerations for Overriding Standard Buttons mentioned in the docs (  .
     To achieve your requirement, I fear, you have to write a VisualForce page on New Event button itself.