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
Priya KPriya K 

hide Save & New button on edit record page in lightning?

Is there any way to hide Save & New button from edit record page? Also, is it possible to rename 'Save' button on edit record page?
NagendraNagendra (Salesforce Developers) 
Hi Priya,

You can not able to remove Save and New button from standard page layout.

Salesforce team has exposed the actions in the API for edit pages for the new Lightning desktop UI, so customization of this list this is something they might be able to do in the Lightning App Builder at some point in the future.

One way is to override New button with Custom visual force page and only the required button. But this involves a custom code.

Override Standard Buttons:

Create a Visualforce Page and Override it with a New Button.
<apex:page standardController="Account">
  <apex:form>
    <apex:pageBlock title="My Content" mode="edit">
      <apex:pageBlockButtons>
        <apex:commandButton action="{!save}" value="Save"/>
        <apex:commandButton action="{!cancel}" value="Cancel"/>
      </apex:pageBlockButtons>
      <apex:pageBlockSection title="My Content Section" columns="2">
        <apex:inputField value="{!account.name}"/>
        <apex:inputField value="{!account.site}"/>
        <apex:inputField value="{!account.type}"/>
        <apex:inputField value="{!account.accountNumber}"/>

        <!-- Add all required fields -->
      </apex:pageBlockSection>
    </apex:pageBlock>
  </apex:form>
</apex:page>



There is an idea which is active on the success community for which you can upvote so that it gets available in the mere future.

You can find the idea at the below link. Hope this helps.

Kindly mark this as solved if the reply was helpful so that it gets removed from the unanswered queue which results in helping others who are facing a similar issue.

Thanks,
Nagendra
Raj VakatiRaj Vakati
Save & New button is coming from the profile permission .. if use are is having created permissions they will see save and new button .. 


If you want to remove them it is not possible .. instead create an empty lightning component and override  save and new button with lightning component