Hi
I am not sure why this suddenly changed, it doesn't happen before, not sure if thats an update with power apps. My app has a form thas has to be filled in and then submitted to a sharepoint list to populate. Before when the form was submitted, you are taken to the first page where you have the option to fill another form and then when you click to fill the form, it is empty like brand new.
Now when you click to submit the form, it keeps the details of the last person and it is still showing there. Not sure what changed.
The button before the form has the code
NewForm(Form2); Navigate(Screen3,ScreenTransition.Fade)
The button to submit has the code
PowerAppsbutton_1.Run(DataCardValue7.Selected.Email,DataCardValue2);SubmitForm(Form2);Navigate(Screen1,ScreenTransition.Fade)
Thanks
Solved! Go to Solution.
You could add Reset(Form2) to the submit button, I believe that clears the data
Please check the OnSuccess property of the form control, make sure it is configured to:
Navigate(Screen1,ScreenTransition.Fade)
And under the Submit button, remove the formula above, just keep:
PowerAppsbutton_1.Run(DataCardValue7.Selected.Email,DataCardValue2);SubmitForm(Form2)
See if doing this will make any difference.
For more details about EditForm control, see:
Edit form and Display form controls in PowerApps
Regards,
Michael
You could add Reset(Form2) to the submit button, I believe that clears the data
the suggestion of v-micsh-msft seems to be the most sensible one as it will let me know that it was successful but for no good reason it broke the the app and won't submit to form anymore.
I tried your suggestion, added the bit at the end of the line but for clarity it is ResetForm(Form2) not Reset(Form2) just to guid the next person who might see this thread.
Thanks
User | Count |
---|---|
252 | |
126 | |
105 | |
50 | |
50 |