Dear Community,
I have a question regarding my Powerapp.
In my app there is a form with required fields. When every field is filled out it navigates to a second screen.
My question is how to make it possible to stay on the main screen when Error messages appear?
Thanks for your help in advance.
Best regards!
Solved! Go to Solution.
Hi @Anonymous ,
I assume you are saving with SubmitForm() before Navigating. Put the Navigation on the OnSuccess of the form instead of at the end of the save code.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @Anonymous ,
I assume you are saving with SubmitForm() before Navigating. Put the Navigation on the OnSuccess of the form instead of at the end of the save code.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @WarrenBelz ,
thank you for your quick reply as well as you good hint.
Unfortunately, as I'm trying to save the form it still leads me to the second screen although there are not all required fields filled out.
Hi @Anonymous ,
A form should not save with required fields not completed - you need to take the Navigate code off the save. If it is OnSuccess, it will only navigate if the form saves successfully.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
193 | |
67 | |
46 | |
41 | |
22 |
User | Count |
---|---|
246 | |
120 | |
83 | |
74 | |
69 |