cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

ResetForm and Reset not resetting data on the Form

Hello Experts,

 

I have one issue in my App , i am writing ResetForm on my form OnSucess Property but after successfully submitting the data it does not reset all fields. majorly those field which gets data on button click. i tried resetting the individual field which is also not working.

when creating a new record fields shows the value which was submitted in last submission. 

Please consider below.

1. Reset property of the fields are true

2.In SP list there is no default value 

3.on field default property there is a variable which is responsible to fill data in the field 

 

this is well known issue and i tried almost everything nothing worked , please advise. 

1 ACCEPTED SOLUTION

Accepted Solutions
Alex_10
Super User
Super User

@Anonymous 

do you want to make form to have all blank values after a submission?

based on your info, i think you need to clear the 'variable which is responsible to fill data in the field':

form.OnSuccess = Set(variable, Blank() );

View solution in original post

2 REPLIES 2
Alex_10
Super User
Super User

@Anonymous 

do you want to make form to have all blank values after a submission?

based on your info, i think you need to clear the 'variable which is responsible to fill data in the field':

form.OnSuccess = Set(variable, Blank() );

Anonymous
Not applicable

Hello @Alex_10 , Thanks for looking into this issue yes you are right i am updating my variable on form On Success and it is updating value.

since it is not an a global variable i am writing this. it working 

 

updateContext({LocVarAE: ""});

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,973)