Hello guys again,
I have yet another problem, but i think it's a bug...
When i say:
SubmitForm(EditForm1),Navigate(Screen2, ScreenTransition.None)
The form will submit, but it won't change to the next screen, in fact go to the screen before, and i want to move him at the other screen... Is any fix for this?
I have tried OnSuccess, but it says it doesn't exist...
Solved! Go to Solution.
Take a look at the OnSuccess property of the EditForm; if you have created your app using the "App From Data" wizard, by default it's set to the expression 'Back()', which will pop the navigation stack:
Can you make sure that if you're calling the Navigate function when you call SubmitForm that you don't have the form's OnSuccess property set to anything (i.e., either clear it or set it to 'false' like the other actions in the form). Otherwise the navigate call will be made, but the back function will bring you back to the original page.
Another alternative is to use the OnSuccess call to navigate to your screen directly: use the Navigate function on the form itself, and remove that from the action handler that contains the SubmitForm call.
EditForm1.OnSuccess: Navigate(Screen2, ScreenTransition.None)
Take a look at the OnSuccess property of the EditForm; if you have created your app using the "App From Data" wizard, by default it's set to the expression 'Back()', which will pop the navigation stack:
Can you make sure that if you're calling the Navigate function when you call SubmitForm that you don't have the form's OnSuccess property set to anything (i.e., either clear it or set it to 'false' like the other actions in the form). Otherwise the navigate call will be made, but the back function will bring you back to the original page.
Another alternative is to use the OnSuccess call to navigate to your screen directly: use the Navigate function on the form itself, and remove that from the action handler that contains the SubmitForm call.
EditForm1.OnSuccess: Navigate(Screen2, ScreenTransition.None)
Hi @CarlosFigueira,
Oh... i didn't noticed that there, it was my mistake ^^
It works properly now! Thank you!
Hi @CarlosFigueira ,
I know this solution is a few years old, but i am currently having the same problem.
When I use the SubmitForm Function or the Navigate function separately they work. But when I use them together e.g. SubmitForm(EditForm1); Navigate(Screen2) then it flickers to Screen 2 but then straight back to EditForm1.
In your previous solution you mention to change the On Success action, however this action is not recognized and is no where to be seen in the advanced property tab.
I hope you can suggest a solution for me, I appreciate your time!
Yes! I see it now thank you so much!
Thanks this worked for me.
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 |
---|---|
202 | |
176 | |
62 | |
32 | |
30 |
User | Count |
---|---|
325 | |
268 | |
104 | |
74 | |
56 |