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
sfdeveloper9sfdeveloper9 

Remove Save & New button on edit page layout

I want to remove Save & New button on Account edit page layout. I saw some older posts where S-control was a solution to get the button Id and disable it. but we have a new salesforce instance, where s - controls cannot be created. Please let me know if there is any other work around to just disable that button on the edit page layout.

 

Thanks,

PK

Pradeep_NavatarPradeep_Navatar

You can achieve this by restricting the user permission. For and example : If you do not give the create permission to the user then ‘Save & New’ Button will not be visible.

sfdeveloper9sfdeveloper9

Thanks Pradeep. I am aware of that but we have a different situation here where I just want to disable the Save, Save & New buttons though some JS.

 

Thanks,

PK

abhisheksharmaabhisheksharma

wondering if you have fond a way to hide "Save & New" button. I kinda have similar requirement and looking for solution.

 

Thanks