cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bradt30h
Helper II
Helper II

How to prevent SharePoint form Save button submit data multiple time?

I customized SharePoint form using Power Apps. However, if I hit the save button in the SharePoint N times while loading, it will end up submitting the data N times. I used Patch function in OnSave setting, what functions can I incorporate in save button to prevent duplicate entry? 

 

bradt30h_0-1634913745065.png

bradt30h_1-1634913932619.png

 

1 REPLY 1
Suilenroc
Frequent Visitor

You could try resetting the controls after the patch function. 

 

Reset(Control1);
Reset(Control2)

 

Etc.

 

If you are using the form in PowerApps you can use :  ResetForm(FormName)

You could also use data validation on the sharepoint list to prevent duplicate entries.

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,740)