cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kandaswamyg
Helper I
Helper I

Form Close Icon

Hello

I am new power apps. I developed a new custom power app form.

I open the new form to enter some of the fields and closed the form by clicking on the close Icon in the top right side corner of the form. But when I open the new form again, I am still seeing the old data in the form. why the data is not cleared when I close the form through close Icon. Any solution for this?

Thanks.

 

1 ACCEPTED SOLUTION

Accepted Solutions
ganeshsanap
Super User
Super User

@Kandaswamyg 

Use below formula on OnSuccess of form control:

 

ResetForm(FormName);

 

You can find more information at:

  1. https://powerusers.microsoft.com/t5/Building-Power-Apps/NewForm-EditForm1-keeps-containing-info-from...
  2. https://powerusers.microsoft.com/t5/Building-Power-Apps/Sharepoint-forms-customized-shows-last-form-...

Please click Accept as solution & ‌‌👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

View solution in original post

1 REPLY 1
ganeshsanap
Super User
Super User

@Kandaswamyg 

Use below formula on OnSuccess of form control:

 

ResetForm(FormName);

 

You can find more information at:

  1. https://powerusers.microsoft.com/t5/Building-Power-Apps/NewForm-EditForm1-keeps-containing-info-from...
  2. https://powerusers.microsoft.com/t5/Building-Power-Apps/Sharepoint-forms-customized-shows-last-form-...

Please click Accept as solution & ‌‌👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,263)