cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
igalriga
Helper I
Helper I

Confirmation when clicking saved

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User
Super User

@igalriga 

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.

View solution in original post

2 REPLIES 2
Drrickryp
Super User
Super User

@igalriga 

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.

@Drrickryp,

 

Thanks, I just solution'd your answer. I just posted a follow up question if you can help. 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,737)