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 / Unsaved Not Working Co...
Power Apps
Unanswered

Unsaved Not Working Consistently

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I have an edit form with several types of cards. I have a button that submits the form. I want this button to appear when the form is in new mode, and when the form is in edit mode and there are unsaved changes to the form. I have 'frmForm.Unsaved' in the Visible property of the Submit button. This works for all the text input fields, the date dropdown field the yes/no toggle and one of the dropdown fields. For a second dropdown field it is not working. A diagnostic label I have that indicates true or false for frmForm.Unsaved does not change from 'false' when this one dropdown is changed, but it does change to true for all other edit fields. Any ideas as to what might be going on here? I can't find any significant difference in the attributes of the two dropdown fields, one of which works and the other which does not.

 

Any help would be most appreciated.

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

    @Anonymous 

    This might be helpful for you...

    The Unsaved property will be true whenever ANY field in your form has a scenario where the Default value of the DataCard does not match the Update property value.

     

    A very common scenario is the the underlying data record has a blank value in it and you are setting the value to something else in the Update - even if it is an empty text (which is NOT the same as blank).

     

    So, without seeing any of your formulas, I can only provide some general guidance, which is - check what the difference is between the Default property Value and the Update property Value on the datacard that contains the control that you are having issues with.

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks Randy,

    I will take your suggestion and look at Update v Default. I figure it must be something like this, or the malfunctioning field is corrupted somehow. If I can't fix it maybe I will remove and reinsert the card. Your response is interesting as it is good information to know regarding Unsaved. I have the opposite problem to the one you describe however, as this one miscreant field can change, but Unsaved still calculates as 'false'. Thanks @RandyHayes 

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard