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
pkherepkhere 

Redirect to a custom page before Save

Scenario:

 

 

For the Object Opportunity a child object(custom) "New Object" 

 

 

As the save button is hit, before saving client requires to capture some more requirements.

 

Before saving opportunity record client wants to enter New Object record and save altogether

kcpluspluskcplusplus

Are you referring to the standard Opportunity edit page or a custom edit page. You can't edit the standard save button to alter or add actions. You would need to use a custom vf page to edit the opportunity and a custom save button with a corresponding save method if you want to alter the behavior on save. 

 

--KC

Vinit_KumarVinit_Kumar

Agreed with