web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Return to different sc...
Power Apps
Unanswered

Return to different screen after submit form

(1) ShareShare
ReportReport
Posted on by

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

Categories:
I have the same question (0)
  • Thomas_F Profile Picture
    86 on at

    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.

     

     

  • Community Power Platform Member Profile Picture
    on at

    So that formula takes it back to a the same screen that having just the SubmitForm(Editform1) does.  It doesn't go to Screen1.

  • Thomas_F Profile Picture
    86 on at

    What are you using as your data source?

  • Community Power Platform Member Profile Picture
    on at

    A sharepoint list

  • Thomas_F Profile Picture
    86 on at

    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.

  • Community Power Platform Member Profile Picture
    on at

    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.

  • Verified answer
    hpkeong Profile Picture
    2,944 on at

    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.

  • Community Power Platform Member Profile Picture
    on at

    That was it.

     

    thx

  • Fields Profile Picture
    312 on at

    Hey,

     

    I am sorry, i have tried this and made a error... Capture.PNG

    Where do i change this really? I think i am messing something

     

    Fields

  • benrattigan Profile Picture
    36 on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard