cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mattke07
New Member

"Are you sure" on selection

I have an app that collects results that go directly to a list. 

 

I want to add a popup or something similar that only triggers if the result is "Postitive" - requesting that the user double check the field before submitting.

 

mattke07_0-1601652076305.png

 

 

7 REPLIES 7
mdevaney
Super User
Super User

@mattke07 

Here's an article I wrote on how to add a Pop-Up Form in Power Apps.  The first paragraph is about how to create a 'Confirmation Pop-Up'.  I think its exactly what is needed here.

 

Link to article:

https://matthewdevaney.com/how-to-create-a-pop-up-menu-in-power-apps/

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

I'm a beginner, but when I try to type "locShow" nothing happens. Do I need to change my fx from Text?

locShow

 

@mattke07 

You have to initialize the variable too with an UPDATECONTEXT function.

I don't know what that means, but thanks for the help anyway.

hi @mattke07 ,

 

UpdateContext({locShow: if(YourControlValue = "Positive", true, false)})

hey there if you liked the post give it a thumbs up, and if it solved your question please accept it as a solution.

@mattke07 

 

Add a rectangle to your screen

add a lable with your text on top of it

add two button, one for "OK" and one for "Cancel"

Now group all the controls by selecting them all and click on group (group1 will be created if you have no other groups yet)

 

now in the OnSelect even on your submit button add the updatecontext i listed.

 

select the group and select  the visible parameter and set that to locShow

 

This will show the group when the user select Positive. you will need another variable to get the response from the buttons to determine the next steps, let me know if you need some more info

hey there if you liked the post give it a thumbs up, and if it solved your question please accept it as a solution.

@mattke07 

Try to build the short example in the tutorial.  It will walk you through step-by-step.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,783)