cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Fields
Level: Powered On

Submit form goes Back, instead of navigate to the screen i want

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...

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Submit form goes Back, instead of navigate to the screen i want

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:

ForumPost-001.PNG

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)

View solution in original post

2 REPLIES 2
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Submit form goes Back, instead of navigate to the screen i want

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:

ForumPost-001.PNG

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)

View solution in original post

Highlighted
Fields
Level: Powered On

Re: Submit form goes Back, instead of navigate to the screen i want

Hi @CarlosFigueira,

 

Oh... i didn't noticed that there, it was my mistake ^^

It works properly now! Thank you!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 318 members 2,904 guests
Please welcome our newest community members: