Change SharePoint Save button to Submit in new item forms

%3CLINGO-SUB%20id%3D%22lingo-sub-1431947%22%20slang%3D%22en-US%22%3EChange%20SharePoint%20Save%22%20button%20to%20%22Submit%20in%20new%20item%20forms%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1431947%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20guys%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20a%20couple%20of%20years%20ago%20we%20had%20the%20ability%20to%20change%20the%20save%20button%20to%20submit.%20Is%20there%20still%20a%20way%20of%20doing%20that%20in%20the%20current%20environment%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1431963%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20SharePoint%20Save%20button%20to%20Submit%20in%20new%20item%20forms%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1431963%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F131055%22%20target%3D%22_blank%22%3E%40Rafael%20Benicio%3C%2FA%3E%26nbsp%3BAre%20you%20using%20the%20modern%20or%20classic%20view%3F%20If%20modern%20then%20you%20can%20do%20using%20powerapps.%20But%20if%20you%20are%20using%20classic%20view%20then%20you%20can%20do%20using%20a%20small%20jquery%20function%20as%20shown%20below%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%2F%2FI%20am%20using%20the%20ID%20of%20the%20button%20as%20identifier%0A%24(%22%23ctl00_ctl34_g_119225bf_8f0a_48d3_b96a_5e8213e30238_ctl00_toolBarTbl_RightRptControls_ctl00_ctl00_diidIOSaveItem%22).value%3D%22Submit%22%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EOutput%20looks%20the%20following%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Vikram_Samal_0-1591043449254.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F195820iBB78CA464BCB3E78%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Vikram_Samal_0-1591043449254.png%22%20alt%3D%22Vikram_Samal_0-1591043449254.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIf%20I%20could%20help%20to%20find%20the%20solution%2C%20please%20like%20or%20mark%20the%20answer%20as%20solution.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3CBR%20%2F%3EVik%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1431983%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20SharePoint%20Save%20button%20to%20Submit%20in%20new%20item%20forms%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1431983%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394813%22%20target%3D%22_blank%22%3E%40Vikram_Samal%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYeah%2C%20I%20heard%20I%20could%20get%20it%20accomplished%20with%20PowerApps.%20I%20am%20using%20a%20modern%20view.%20My%20question%20is%3A%20would%20that%20change%20on%20my%20list%20in%20new%20items%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20might%20create%20an%20app%20that%20would%20have%20the%20SP%20list%20as%20a%20source%2C%20but%20for%20now%2C%20I%20am%20planning%20just%20to%20use%20the%20list.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1432126%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20SharePoint%20Save%20button%20to%20Submit%20in%20new%20item%20forms%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1432126%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F131055%22%20target%3D%22_blank%22%3E%40Rafael%20Benicio%3C%2FA%3E%26nbsp%3BYou%20don't%20have%20to%20change%20anything%20in%20your%20list%20just%20customize%20the%20form%20using%20the%20Power-apps%20from%20the%20option%20below.%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222020-06-01_1453.png%22%20style%3D%22width%3A%20814px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F195837iF3CEB1C9A7E9B121%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%222020-06-01_1453.png%22%20alt%3D%222020-06-01_1453.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20created%26nbsp%3B%20a%20small%20example%20for%20you%20and%20the%20form%20looks%20something%20like%20this%20it%20took%20few%20minutes%20for%20me%20but%20if%20you%20have%20any%20question%20feel%20free%20to%20refer%20this%20article%20which%20step%20by%20step%20walk%20you%20though%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowerapps%2Fmaker%2Fcanvas-apps%2Fcustomize-list-form%23%3A~%3Atext%3DOpen%2520your%2520list%252C%2520select%2520PowerApps%2Call%2520versions%2520button%252C%2520select%2520Save.%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowerapps%2Fmaker%2Fcanvas-apps%2Fcustomize-list-form%23%3A~%3Atext%3DOpen%2520your%2520list%252C%2520select%2520PowerApps%2Call%2520versions%2520button%252C%2520select%2520Save.%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Vikram_Samal_0-1591048109154.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F195831iFD908F9B9094A917%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Vikram_Samal_0-1591048109154.png%22%20alt%3D%22Vikram_Samal_0-1591048109154.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EOnly%20thing%20you%20might%20need%20help%20is%20binding%20with%20the%20buttons%20once%20you%20add%20to%20the%20page.%3C%2FP%3E%3CP%3EFor%20Save%3A%20The%20formula%20is%20SubmitForm(SharePointForm1)%3C%2FP%3E%3CP%3EFor%20Clear%3A%20The%20formula%20is%3A%26nbsp%3BResetForm(SharePointForm1)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20of%20things%20you%20might%20be%20already%20aware%20please%20ignore%20them.%26nbsp%3BIf%20I%20could%20help%20to%20find%20the%20solution%2C%20please%20like%20or%20mark%20the%20answer%20as%20solution.%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EVik%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1434281%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20SharePoint%20Save%20button%20to%20Submit%20in%20new%20item%20forms%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1434281%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394813%22%20target%3D%22_blank%22%3E%40Vikram_Samal%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply.%20I%20was%20able%20to%20connect%20my%20list%20to%20PowerApps.%20I%20went%20to%20On%20Save%20and%20On%20Cancel%20options%2C%20and%20the%20functions%20look%20exactly%20what%20you%20shared.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhere%20do%20I%20insert%20the%20first%20script%20you%20sent%20in%20order%20to%20change%20the%20save%20button%20to%20submit%3F%20Thank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1434325%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20SharePoint%20Save%20button%20to%20Submit%20in%20new%20item%20forms%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1434325%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F131055%22%20target%3D%22_blank%22%3E%40Rafael%20Benicio%3C%2FA%3E%26nbsp%3BWhen%20you%20will%20be%20in%20the%20form%20select%20the%20button%20where%20you%20want%20to%20add%20the%20formula%20and%20then%20on%20the%20top%20you%20can%20see%20the%20formula%20bar%20where%20you%20have%20to%20apply%20the%20formula.%20Find%20the%20screenshot.%20The%20SubmitForm%20is%20the%20function%20and%20%22SharePointForm1%22%20is%20the%20name%20of%20the%20form.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Test.png%22%20style%3D%22width%3A%20938px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F195973i27740F7C60E93D17%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Test.png%22%20alt%3D%22Test.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIf%20I%20could%20help%20to%20find%20the%20solution%2C%20please%20like%20or%20mark%20the%20answer%20as%20solution.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EVik%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1440756%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20SharePoint%20Save%20button%20to%20Submit%20in%20new%20item%20forms%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440756%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394813%22%20target%3D%22_blank%22%3E%40Vikram_Samal%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20works%20but%20I%20still%20have%20the%20options%20on%20the%20top%20of%20the%20new%20item%20form%20on%20SP.%20Is%20there%20any%20way%20to%20get%20rid%20of%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screen%20Shot%202020-06-04%20at%209.45.36%20AM.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F196521i80682874195F70E4%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Screen%20Shot%202020-06-04%20at%209.45.36%20AM.png%22%20alt%3D%22Screen%20Shot%202020-06-04%20at%209.45.36%20AM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1440842%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20SharePoint%20Save%20button%20to%20Submit%20in%20new%20item%20forms%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440842%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F131055%22%20target%3D%22_blank%22%3E%40Rafael%20Benicio%3C%2FA%3EIf%20you%20want%20to%26nbsp%3B%3CSPAN%3Ehide%20the%20%22Submit%22%20on%20the%20top%20bar%2C%20I%20afraid%20that%20there%20is%20no%20way%20to%20achieve%20your%20needs%20in%20Power%20Apps%20currently.If%20you%20would%20like%20this%20feature%20to%20be%20added%20in%20Power%20Apps%2C%20please%20submit%20an%20idea%20to%20Power%20Apps%20Ideas%20Forum%3A%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22lia-quilt-column%20lia-quilt-column-20%20lia-quilt-column-right%20lia-quilt-column-main-right%22%3E%3CDIV%20class%3D%22lia-quilt-column-alley%20lia-quilt-column-alley-right%22%3E%3CDIV%20class%3D%22lia-message-body%20lia-component-message-view-widget-body%20lia-component-body-signature-highlight-escalation%20lia-component-message-view-widget-body-signature-highlight-escalation%22%3E%3CDIV%20class%3D%22lia-message-body-content%22%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FPowerApps-Ideas%2Fidb-p%2FPowerAppsIdeas%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FPowerApps-Ideas%2Fidb-p%2FPowerAppsIdeas%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3C%2FDIV%3E%3CDIV%20class%3D%22lia-message-body-content%22%3EVik%3C%2FDIV%3E%3CDIV%20class%3D%22lia-message-body-content%22%3E%3CDIV%20class%3D%22UserSignature%20lia-message-signature%22%3EIf%20this%20post%20%3CSTRONG%3Ehelps%3C%2FSTRONG%3E%2C%20then%20please%20like%20or%20consider%20%3CSTRONG%3E%3CI%3EAccept%20it%20as%20the%20solution%3C%2FI%3E%3C%2FSTRONG%3E%20to%20help%20the%20other%20members%20find%20it%20more%20quickly.%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hey guys, 

 

I know a couple of years ago we had the ability to change the save button to submit. Is there still a way of doing that in the current environment? 

 

Thank you!

7 Replies
Highlighted

@Rafael Benicio Are you using the modern or classic view? If modern then you can do using powerapps. But if you are using classic view then you can do using a small jquery function as shown below:

//I am using the ID of the button as identifier
$("#ctl00_ctl34_g_119225bf_8f0a_48d3_b96a_5e8213e30238_ctl00_toolBarTbl_RightRptControls_ctl00_ctl00_diidIOSaveItem").value="Submit";

Output looks the following:

Vikram_Samal_0-1591043449254.png

If I could help to find the solution, please like or mark the answer as solution.

 

Thanks,
Vik

Highlighted

Hi @Vikram_Samal 

 

Yeah, I heard I could get it accomplished with PowerApps. I am using a modern view. My question is: would that change on my list in new items?

 

I might create an app that would have the SP list as a source, but for now, I am planning just to use the list. 

 

Thanks!

Highlighted

@Rafael Benicio You don't have to change anything in your list just customize the form using the Power-apps from the option below.

 
 

2020-06-01_1453.png

 

 

I created  a small example for you and the form looks something like this it took few minutes for me but if you have any question feel free to refer this article which step by step walk you though: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/customize-list-form#:~:text=Open%20your...

 

Vikram_Samal_0-1591048109154.png

Only thing you might need help is binding with the buttons once you add to the page.

For Save: The formula is SubmitForm(SharePointForm1)

For Clear: The formula is: ResetForm(SharePointForm1)

 

Many of things you might be already aware please ignore them. If I could help to find the solution, please like or mark the answer as solution.

 

Thanks

Vik

 

Highlighted

Hi @Vikram_Samal ,

 

Thanks for your reply. I was able to connect my list to PowerApps. I went to On Save and On Cancel options, and the functions look exactly what you shared. 

 

Where do I insert the first script you sent in order to change the save button to submit? Thank you!

Highlighted

@Rafael Benicio When you will be in the form select the button where you want to add the formula and then on the top you can see the formula bar where you have to apply the formula. Find the screenshot. The SubmitForm is the function and "SharePointForm1" is the name of the form.

Test.png

If I could help to find the solution, please like or mark the answer as solution.

 

Thanks

Vik

Highlighted

Hi @Vikram_Samal 

 

That works but I still have the options on the top of the new item form on SP. Is there any way to get rid of it?

 

Screen Shot 2020-06-04 at 9.45.36 AM.png

 

Thank you!

Highlighted

@Rafael BenicioIf you want to hide the "Submit" on the top bar, I afraid that there is no way to achieve your needs in Power Apps currently.If you would like this feature to be added in Power Apps, please submit an idea to Power Apps Ideas Forum:

Vik
If this post helps, then please like or consider Accept it as the solution to help the other members find it more quickly.