web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to stop a user cli...
Power Apps
Unanswered

How to stop a user clicking a button multiple times!

(0) ShareShare
ReportReport
Posted on by 87

Hello PA_Community! 
I could use help with this critical bug.

 

Essentially I built a warning screen, which pops up and has the save button on this screen!

 

This works perfectly, however,  when the user selects to save there is a slight delay before the warning screen disappears and this allows the user to click the save button again. 

 

This result is a bunch of duplicates being made!

 

Please help! how can I stop this????

The warning screen is a component with behaviour type buttons on them 

Categories:
I have the same question (0)
  • mdatson Profile Picture
    41 on at

    Make your warning screen a popup within the screen the save button is contained.
    I have previously used a "popup" item which is just a group that contains an image with part transparency and an animation to emulate a loading screen this is all stored on the same screen the save button is located.
    set the Visible property of the "warning screen" to something like: 

    showPopup


    the onvisible of the screen should contain the following to ensure the "warning screen" isn't visible when the app starts: 

    UpdateContext({showPopup: false});


    on the save button should be setup like this:

    UpdateContext({showPopup: true});
    
    *insert you method of saving here;
    
    UpdateContext({showPopup: false});
    
    *if needed insert navigation here;

    this makes the warning screen immediately cover the screen, preventing buttons from being pressed until the save has been completed and once complete hides the warning screen. 

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard