Is there a quick and easy way to clear a form after a successful Patch save? I have not found anything yet, except that the issue might lie in the fact that this is tied with a SharePoint list.
Thanks
Brad
Solved! Go to Solution.
Is it all the fields that retain the previous data or just the look up based ones?
Actually now that you say it, the ones that seem to reset are the Yes/No toggles. I do have those set to default to Yes on the SharePoint side. And no, it is not just the lookup columns as the Comments field retains its text.
And send me a link to your BLOG. I would like to read it.
Are you still having this issue ? I am using a patch function as well but it clears the data after submitting it. I am trying to achieve the oppsite of you, I need to keep the data after submitting it. If you can share your expression it will be helpful.
Thanks,
@ck25415 I am using a patch function but the forms do not clear but I want it to. I am trying to use the NewForm Function but it does not reset the forms.
Patch (ResearchApp, Defaults(ResearchApp),Form2.Updates, Form3.Updates, Form3_1.Updates, Form3_2.Updates, Form3_3.Updates, Form3_4.Updates); If(IsEmpty(Errors(ResearchApp, Defaults(ResearchApp))), Navigate(Welcome, ScreenTransition.Fade));NewForm(Form2);NewForm(Form3);NewForm(Form3_1);NewForm(Form3_2);NewForm(Form3_3);NewForm(Form3_4)
is the complete formula.
Can you provide an example of your formula that is clearing?
Hello @Roberts2727 @Andy_Tuke
I am having the same problem, I am using a patch command on form submit button and after submission, when I go to create New Record from (+) it shows me previous submitted data on NewForm.
Why is that happening like this any idea??
Thanks! I was trying to clear individual items before I found this solution. This is exactly what was needed to ensure a fresh sheet was available. All images back to default state and can still pass data from the main page.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
189 | |
45 | |
45 | |
36 | |
35 |
User | Count |
---|---|
260 | |
82 | |
79 | |
69 | |
69 |