Forum Discussion
Change SharePoint Save button to Submit in new item forms
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!
Rafael Benicio You don't have to change anything in your list just customize the form using the Power-apps from the option below.
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%20list%2C%20select%20PowerApps,all%20versions%20button%2C%20select%20Save.
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
- Rafael BenicioJun 02, 2020Brass Contributor
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!
- Vikram_SamalJun 02, 2020MCT
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.
If I could help to find the solution, please like or mark the answer as solution.
Thanks
Vik
- Rafael BenicioJun 04, 2020Brass Contributor
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?
Thank you!