cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ANdreVT
Level: Powered On

"Are you sure that are you want to submit this form?" Yes or No

I am new to power apps and i would like to create a popup message asking:

"Are you sure that are you want to submit this form?" Yes or No

how can i do this?

1 ACCEPTED SOLUTION

Accepted Solutions
ANdreVT
Level: Powered On

Re: "Are you sure that are you want to submit this form?" Yes or No

Hello Guys

After a couple of Tentatives I was able to show de question after click the submit button and then I can now select yes or no. If yes do for me is submitted if not the form go back to the main screen .
7 REPLIES 7
seadude
Level 10

Re: "Are you sure that are you want to submit this form?" Yes or No

Hi @ANdreVT ,

Welcome to PowerApps. I also do this in all my apps.

Here is the simplest way I've found:

- Insert a Label Control (or HTMLtext Control) and stretch it across any Buttons the user could click

- Populate it with your text ("Are you sure?", etc.)

  - To get real spiffy, use a Switch or If function to change the text depending on various scenarios in your application!

- Set its Fill Property to RGBA(255,255,255,.90) for that "See through" effect

- Set its Visible Property to varOverlay

  - Trigger this variable by someone clicking "Cancel" or the the Back Arrow in your app

  - Example: OnSelect of the "Cancel" button; Set(varOverlay, true)

- Add two buttons to the Overlay: "Cancel" (again) and "Yes"

- OnSelect of the "Yes" button, trigger all your dangerous logic

- OnSelect of the "Cancel" (again) button, Set(varOverlay, false)

 

Here is the harder way (but better for reuse):

- Create a Component so its reusable across apps!

 

Good luck!!

Super User
Super User

Re: "Are you sure that are you want to submit this form?" Yes or No

Here's an article that explains how to make a Popup form for a mobile app. 

https://powerapps.microsoft.com/en-us/blog/creating-dialogs-in-powerapps/



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
ANdreVT
Level: Powered On

Re: "Are you sure that are you want to submit this form?" Yes or No

@seadude  I would like a pop up message in a small windows

is it the same procedure?

seadude
Level 10

Re: "Are you sure that are you want to submit this form?" Yes or No

Maybe the attached will illustrate better.

- Download the app below

- Go to web.powerapps.com

- Click Apps

- Click Import

- Select the downloaded app

Good luck!

Community Support Team
Community Support Team

Re: "Are you sure that are you want to submit this form?" Yes or No

Hi @ANdreVT ,

 

A label control that @seadude mentioned is a text control,  it can show the message that you want to show to the users, so this could be the windows. Then you can make this text control only visible when user click on the submit button. This makes this label control a pop up windows.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ANdreVT
Level: Powered On

Re: "Are you sure that are you want to submit this form?" Yes or No

Hello Guys

After a couple of Tentatives I was able to show de question after click the submit button and then I can now select yes or no. If yes do for me is submitted if not the form go back to the main screen .
seadude
Level 10

Re: "Are you sure that are you want to submit this form?" Yes or No

Nice work

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Top Community Contributors for September  2019

Top Community Contributors for September 2019 🎉🎉

Let's thank our top community contributors

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 417 members 5,932 guests
Please welcome our newest community members: