I have a form and submit button ; I have put.
submit button - Onselect - SubmitForm(Form1);
Form - OnSuccess - If(Form1.Valid,SubmitForm(Form1); ResetForm(Form1); Navigate(SuccessScreen,ScreenTransition.Cover))
Once I submit my form.. sometime the Success screen display ;sometime it didnt.. why??
Solved! Go to Solution.
Firstly I don't understand, why you are submitting twice
Once in the submit button - Onselect - SubmitForm(Form1);
Then again in the Form - OnSuccess - If(Form1.Valid,SubmitForm(Form1); ResetForm(Form1);
Could you explain that?
I saw the video someone mention to put in Onsuccess as sometime on failure if we use submit and navigate to success screen, it will just not send and user will not know.. and it will think that it's successful submitted but it's not.
@bbsin My question was, Why are you submitting twice (2 times), once in the OnSelect() of the Button and then again in the OnSuccess. This will go on in an endless Loop!!!
Oh .. So I remove on Success then, right?
but how to ensure that the submission is success and not just navigate to success screen? As earlier I try to submit, without the syntax "OnSuccess", it show the success screen but data was actually not submitted
Learn how to create your own user groups today!
Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!
Check out the new Power Platform Community Connections gallery!