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

Stop reset of 'New Form' on SubmitForm?

Hi all,

 

I have looked at similar threads but nothing is hitting the outcome I am wanting.

 

Basically I am trying to submit a New Form and then once it has submitted the form it does not reset the values to blank and instead if I hit submit again it would submit the same information again, giving the user the ability to tweak the 2nd, 3rd, 4th and 5th entries without having to enter all the values again.

 

Is this possible?

 

Thanks in advance!

1 REPLY 1
Super User II
Super User II

Hi @TWolsten,

For the fields that you wanted to keep the same, you would use the default property of the control in the card.  So if the form was Form1 and it had a City card, you would change the default in the control inside the card from Parent.Default to Form1.LastSubmit.City.  However, you will still want to have the form work correctly for Edit mode so an If() function is needed. The Default property of the control should be If(Form1.Mode = 1, Form1.LastSubmit. FieldName,  Parent.Default).  Form.Mode property will return 0, 1, 2 based on the form mode. Below are what these values correspond to:

  • 0 – Edit Mode
  • 1 – New Mode
  • 2 – Display Mode

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (93,737)