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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Are You Sure popup

(0) ShareShare
ReportReport
Posted on by 24

I want to open a 'Are you sure?' prompt with Yes and No options upon clicking a button, so that OnSelect is only executed upon clicking Yes.

Categories:
I have the same question (0)
  • Verified answer
    AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @aj042 

     

    For your button to open the prompt. On the OnSelect property:

    Set(gblPopUp, true);

     

    Add in a container, and then add in your label and button controls to make your pop-up prompt. In the Visible property of the container:

    gblPopUp

     

    For your buttons in your pop-up, in the OnSelect property:

    Set(gblPopUp, false);

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#2
11manish Profile Picture

11manish 192

#3
Valantis Profile Picture

Valantis 128

Last 30 days Overall leaderboard