Solved! Go to Solution.
Hi @Tej7299 ,
Do you want to display custom message after you submit the form and on this custom message you could close the app?
Well, you could set the form's OnSuccess to make the custom message visible, which means after the form is submitted successfully, the message will show.
I've made a similar test for your reference:
1)insert a Rectangle, a "x" icon, a button, a label. Group them together as the custom message.
Set the label's Text:
"You've submitted the form successfully!"
set the "x" icon OnSelect:
Set(var,false)
set the exit button's OnSelect:
Exit()
set this group's Visible:
If(var,true,false)
2)set the form's OnSuccess:
Set(var,true)
Then after you submit the form successfully, the custom message window will display, if you click the "x" icon, the window will disappear, if you click "exit" button, you will close the app.
Best regards,
For an exit message you would need to create this yourself then use the Exit() function. Scenario could be:
1. user submits form
2. start a timer eg 3secs
3. have a Label that displays via a variable, text is your choice eg "Thank you for your response"
4. timer ends
5. Exit()
There are plenty of YouTube videos on Timers & Pop-ups, here's a Timer one
https://www.youtube.com/watch?v=Xe2NI2aTGvY
Hi @Tej7299 ,
Do you want to display custom message after you submit the form and on this custom message you could close the app?
Well, you could set the form's OnSuccess to make the custom message visible, which means after the form is submitted successfully, the message will show.
I've made a similar test for your reference:
1)insert a Rectangle, a "x" icon, a button, a label. Group them together as the custom message.
Set the label's Text:
"You've submitted the form successfully!"
set the "x" icon OnSelect:
Set(var,false)
set the exit button's OnSelect:
Exit()
set this group's Visible:
If(var,true,false)
2)set the form's OnSuccess:
Set(var,true)
Then after you submit the form successfully, the custom message window will display, if you click the "x" icon, the window will disappear, if you click "exit" button, you will close the app.
Best regards,
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
200 | |
184 | |
69 | |
42 | |
34 |
User | Count |
---|---|
341 | |
266 | |
114 | |
64 | |
64 |