How can I hide or disable the save button in the ribbon?

Lopez, Ahiezer 236 Reputation points
2022-08-03T19:42:16.423+00:00

There are a variety of lists in a sharepoint website however I would like to hide or disable the Save button, seen in the picture, for just one of the lists. How can I do this?

227871-image.png

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

Answer accepted by question author
  1. Xyza Xue_MSFT 30,241 Reputation points Microsoft External Staff
    2022-08-04T03:32:24.097+00:00

    Hi @Lopez, Ahiezer ,
    I want to confirm with you that you want to hide the save button which is the default edit form page in the classic list?
    There are steps:
    1.Edit page -> Add a Script Editor web part.
    227915-image.png
    2.Edit web part -> EDIT SNIPPET.
    3.Add follow codes :

     <style>a[id="Ribbon.ListForm.Edit.Commit.Publish-Large"]{display:none;}</style>  
    

    The running result is shown in the following figure:
    227916-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.