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 / Editing record is show...
Power Apps
Unanswered

Editing record is showing form as valid even though form was reset

(0) ShareShare
ReportReport
Posted on by 634

I am using a multiple forms on a screen. A master form and 3 other forms that make up the data that goes into the master. All of these forms are using a variable for Items(glbFormData). Most fields in these forms are custom fields. Now, if I go to edit a record and I reset the forms, whether it is the 3 child forms or the master or all 4, the form fields reset but the values remain behind somewhere. Same thing happens if I try and create a new record. I know the data is there because I can see the data still populating the master form and I can see the datacard's Default or Update values when I drop a label on the page to show those values. another clue is that the forms are showing as valid even though the required fields are reset to blank. One other thing to note is that  the glbformData variable is empty . Where is this data being stored and how do I clear it?

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Future_Vision 

    I still have your other posts on my tracking system to follow up on....this seems related to those. So, perhaps we can pick up here.

     

    The form will not retain the data.  This is all going to be dependent on the glbFormData.  How are you verifying that the glbformData is empty?  If the EditForm shows the Default value, that would be coming directly from the Item record of the EditForm.  Your child form Item properties should be glbformData  and your Master form should be Patch(glbformData, form1.Updates, form2.Updates, form3.Updates)

    Is that where you are?

  • Future_Vision Profile Picture
    634 on at

    @RandyHayes 
    Mostly. We did a little extra to the master to allow for copying a record and submitting as a new record.

    If(varCopy=true, Patch(glbFormData, Form1.Updates, Form2.Updates, Form3.Updates, {crfeb_trackinguid:Blank()}), Patch(glbFormData, Form1.Updates, Form2.Updates, Form3.Updates))

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Future_Vision 

    Ah yes...I recall that now (too many formulas in my head).

     

    So let's explore my other question - "How are you verifying that the glbformData is empty? "

     

  • Future_Vision Profile Picture
    634 on at

    @RandyHayes 
    One way is I check the variable here.

    Future_Vision_0-1623352056725.png

     

    I've also put a label in the app and set the text to one of the values still hanging around. For example Brand1 has a value but when I try and print that to the label using glbFormData.Brand1 it is blank.

  • Future_Vision Profile Picture
    634 on at

    @RandyHayes 
    Sorry for the delay, if there is any on my end. Trying to get back to this issue but I am having issues with the app's UI loading inside of the editor in PA for Teams.

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 273

#3
Kalathiya Profile Picture

Kalathiya 232 Super User 2026 Season 1

Last 30 days Overall leaderboard