Hi Guys..
I have a problem in the navigation on OnSave property of SharePointIntegration(when OOTB Save click) as well as in a custom button I have created as "Submit" OnSelect. When I click OOTB "Save" without filling required fields, the form immediately shows the validation messages on the form but suddently navigates to "Save Success" screen(I have created a separate screen for successful save). I want to navigate to the save success screen only after form is saved without any validation errors. Similarly in the case of custom button, I have given a navigation to another success screen says "Submitted successfully", but unable to control the validation success to navigate to another screen.
Please help me out to resolve this issue.
SharePointIntegration : OnSave I have given the formula as follows, but no luck it is not working..
SubmitForm(SharePointForm1); If(SharePointForm1.ErrorKind = None, Navigate(SaveSuccessScreen,ScreenTransition.Fade))
Similarly, in the custom button BtnSubmit : OnSelect, I have given the formula as follows..
SubmitForm(SharePointForm1); If(SharePointForm1.ErrorKind = None, Navigate(SubmitSuccessScreen,ScreenTransition.Fade))
Both above formulas are not working. Please advise..