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

Pop Up message

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

 

I have created 2 Pop up screens Popup1 (Disclaimer Message with a check box) and Popup2 (App navigation details with a close button). I placed both the popups with the size position and the same size. So I need the disclaimer to pop up to be visible when the user lands on this screen(3rd screen of the app) and once the user accepts the terms and conditions in the check box the Disclaimer pop-up message should close and the 2nd pop-up message to be visible.

 

I tried creating a variable and checking the On visible property but was not able to achieve the same. Could you please help me with the above situation?

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,563 Super User 2026 Season 1 on at

    Hi @Hit_23 ,

     

    What you can do is set a variable to 1 to show the first popup and to 2 to show the second. For that, in the OnVisible property of the screen include the below formula:

     

    UpdateContext({lclPopUp:1})

     

     

    Then set the Visible property of the first popup to:

     

    lclPopUp = 1

     

     

    In the OnSelect property of the control that is used to accept the terms and conditions in the first popup, include the following formula to make the first popup disappear and the second one appear:

     

    UpdateContext({lclPopUp:2})

     

     

    After that, set the Visible property of the second popup to:

     

    lclPopUp = 2

     

     

    Finally, use the below formula to also make the second popup disappear:

     

    UpdateContext({lclPopUp:0})

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @BCBuizer - Thank you so much for your help. It worked!!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @BCbuizer

     

    The pop-up message is working correctly, however, once the user accepts the terms and conditions and proceeds to the next screen and comes back to same screen, we are getting the pop up messages again. Please let me know if we any workaround 

  • BCBuizer Profile Picture
    22,563 Super User 2026 Season 1 on at

    Hi @Hit_23 ,

     

    If you don't want these pop-us to show every time a user navigates to this screen, you need to somehow record that the user has already accepted. This can either be in a variable/collection or a data source. 

     

    Using a variable is easier to implement, but will mean that the data is lost once the app is closed. Using a data source is more work to implement, but will require the user to only accept once.

     

    Once you have the records in place, you'll need to add a second condition to the Visible property of the pop-ups to check if a record for the current user doesn't exist yet.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard