web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / ResetForm when using S...
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:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    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

     

     

     

  • Doug_Pirtle Profile Picture
    18 on at

    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
    155,463 Most Valuable Professional on at

    Hi @Doug_Pirtle ,

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

  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard