Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

ResetForm when using Set(Current Value)

(0) ShareShare
ReportReport
Posted on by 18

Hello,

 

I am trying to hold values in my data cards when submitting while resetting others data cards.  I have that part working, but when I want to actually reset the entire form I am not able to get that to work.

 

Here is what I have on set in my form when submitting.

 

Screen OnVisible Property:

Set(currentCDCDelivery,Blank());
 
OnSelect Property for Submit Form:
SubmitForm(Form1);
Set(currentDelivery,Form1_1.LastSubmit.CDCDelivery);
NewForm(Form1);
 
Default Property for Card:
currentDelivery
 
My Reset Form Button is set to ResetForm(Form1).  This will not reset the data cards.  What can I do to be able to reset my form when I already have the Default set to CurrentDelivery.
 
Any help is appreciated.
Thanks,
Doug
Categories:
  • WarrenBelz Profile Picture
    148,648 Most Valuable Professional on at
    Re: ResetForm when using Set(Current Value)

    Hi @Doug_Pirtle ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    148,648 Most Valuable Professional on at
    Re: ResetForm when using Set(Current Value)

    Hi @Doug_Pirtle ,

    It needs to be the Default (or equivalent) on whatever control is inside the card you want updated.

  • Doug_Pirtle Profile Picture
    18 on at
    Re: ResetForm when using Set(Current Value)

    Can you elaborate on this part of your response listed below.  I made all properties the same with currentCDCDelivery.  

     

    Your Default currentDelivery on the Data Card should really be on the Control inside and will write the Default (currentDelivery in this case) to this control (as it does to all other controls on the Form) when the Form is reset.

     

    Thank you.

  • WarrenBelz Profile Picture
    148,648 Most Valuable Professional on at
    Re: ResetForm when using Set(Current Value)

    Hi @Doug_Pirtle ,

    You have two Variables here - currentDelivery set when you submit the Form, which will be a field CDCDelivery value just saved

    SubmitForm(Form1);
    Set(
     currentDelivery,
     Self.LastSubmit.CDCDelivery
    );
    NewForm(Form1);

     and currentCDCDelivery, which I am not sure how it comes into this.

    Your Default currentDelivery on the Data Card should really be on the Control inside and will write the Default (currentDelivery in this case) to this control (as it does to all other controls on the Form) when the Form is reset.

    What is not working in all of that?

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1