Change SharePoint “Save” button to “Submit” in new item forms

SaveToSubmit.PNG

“Save” isn’t as familiar/intuitive to non-SharePoint users as language such as “Submit” can be. Change “Save” to “Submit” by adding a script editor or content editor web part (CEWP) to the newform.aspx page for your list.

  1. Go to your list’s newform.aspx page by changing “Allitems” or your default view name with “newform” (www.mysite.com/subsite/lists/ListName/newform.aspx)
    allitems
    Note: If clicking “new item” takes you to a new page and not a dialog, you can just do that instead since the URL will be correct.
  2. Edit page
    editpage.PNG
  3. Add web part
    addwebpart.PNG
  4. Add script editor (Media and content –> script editor –> add)
    scripteditor.PNG
  5. Edit snippet
    editsnippet.PNG
  6. Paste the following code and insert
    <script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("ChangeSPSavetoSubmit()");
    
    function ChangeSPSavetoSubmit()
    {
    var inputs = document.getElementsByTagName("input");
    
    for(i = 0; i<inputs.length; i++)
     {
        if(inputs[i].type == "button" && inputs[i].value == "Save")
         {
          inputs[i].value = "Submit";
         }
      }
     }
    </script>
    

    embedsnippet.PNG

  7. Stop editing page and check the result
    stopediting.PNG

Voila!

submitchanged.PNG

Advertisements