Notifications
Announcements
New to powerapps. I need to navigate to a different screen after a form is submitted. If I have just SubmitForm(EditForm1) it will return to the previous screen but I want it to go to a different screen. When I change it to SubmitForm(EditForm1); Navigate(Screen1,ScreenTransition.Fade) it goes to Screen1 and then immediately back to the Editfrom screen. What am I missing or doing wrong?
Thanks
The formula I would use for this is:
SubmitForm(EditForm1);If(EditForm1.ErrorKind = None,Navigate(Screen1,ScreenTransition.Fade))
Try pasting that formula in and see if it works.
Something to be aware of is ensuring that you have the correct permissions for the destination you are trying to write the information to.
So that formula takes it back to a the same screen that having just the SubmitForm(Editform1) does. It doesn't go to Screen1.
What are you using as your data source?
A sharepoint list
I've had a problem before where within the sharepoint list on certain columns you may have criteria which isn't being met and so when you submit the form sharepoint is rejecting the changes. This could be something like a column requires information to be filled in and when you're sumbitting the form that field is being left blank which is leading to the rejection.
Go into your sharepoint list settings and check through each columns setting to ensure the details you are entering in on the form are meeting the criteria for that column.
Everything looks fine in the sharepoint, although I am new at this and could be missing something. It's recording all the information correctly and I'm not getting an error, just going to the wrong screen.
Hi @Anonymous
Sorry for interrupting.
The reason is: Default setting of:
OnSuccess = Back()
OnFailure = false
Please verify.
May you have the Navigation formula written/changed to \:
OnSuccess.Navigate(Screen1, .....), or
OnFailure.Navigate(Screen2, ...)
Hope this helps.
That was it.
thx
Hey,
I am sorry, i have tried this and made a error...
Where do i change this really? I think i am messing something
Fields
Did anyone have a solution to this as I am editing multiple forms on multiple screens then using Patch command on the last screen but then I want to navigate back to my list view. I have tried
OnSuccess.Navigate(RecordList,None);Patch('QA Records',TemplateGalleryList1.Selected,Form1.Updates,Form2.Updates,Form3.Updates)
with no luck
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268