What I am hoping to get is when a user clicks the "save" button, a confirmation comes up saying "saving" because sometimes it takes 30 seconds or so and the user keeps clicking "save" resulting in errors.
So when "save" is clicked, a notice comes up saying "saving" until it's done.
Solved! Go to Solution.
You can do this with UpdateContext(). If you are saving Form1, include UpdateContext({pressed:true}); SubmitForm(Form1) in a Submit button. In the DisplayMode property of the button: If(pressed, Disabled,Edit) this will prevent the user from pressing the button the form is saving. In the OnSuccess property of the form: UpdateContext({pressed:false}) to reset the button once the form is saved. Include a Label with the Text property: "Saving" and its Visible property: pressed.
You can do this with UpdateContext(). If you are saving Form1, include UpdateContext({pressed:true}); SubmitForm(Form1) in a Submit button. In the DisplayMode property of the button: If(pressed, Disabled,Edit) this will prevent the user from pressing the button the form is saving. In the OnSuccess property of the form: UpdateContext({pressed:false}) to reset the button once the form is saved. Include a Label with the Text property: "Saving" and its Visible property: pressed.
Thanks, I just solution'd your answer. I just posted a follow up question if you can help.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
190 | |
52 | |
51 | |
36 | |
33 |
User | Count |
---|---|
268 | |
97 | |
83 | |
68 | |
68 |