Showing results for 
Search instead for 
Did you mean: 
Impactful Individual
Impactful Individual

Confirm exit message with Exit() VS Launch() with Target.Self



I'm making MobileApps and WebApps.


My problems:

  • Exit() confirm message cannot be created via formula. If I hardcode the confirm message, it works. If i refer to a TextInput.text it doesn't use the text and works like I wouldn't had maintained a confirm text.
  • The Launch() function with the new Target argument don't use the confirm exit message. I got the message "This page is aksing you to confirm that you want to leave - data you have entered may not be saved". And even worse: On mobile (iOS Version 3.20052.16), there is no message at all?!

How do you handle this topic?

I'm also thinking about creating an New Idea to update the Exit function with a Target property.


Resolver II
Resolver II

1. Your Exit() will be considered as string If you will refer to a TextInput.text that't why its not working.
2. You can create popup box  for that condition(Use popupbox_var in visible property). When you click on button then write this code:


 and in popup box use two button yes and no, and also show text there that:
This page is asking you to confirm that you want to leave - data you have entered may not be saved
Use this code on Yes:  Launch(whatever your link)
and on No: 


 I am attaching a sample popup box not exactly:

Impactful Individual
Impactful Individual

Thanks for your feedback.

I know how to create a popup, but I don't want to have a static message if I'm closing the actual tab in webbrowser or if I close the app on my iOS device.

And I'm also confused while I get a message in webbrowser if I use the launch() function, but not on my mobile device.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (5,037)