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.
Solved! Go to Solution.
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.
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.
@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?
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.
Join us for the next call on June 15, 2022 at 8am PDT.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.