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 / EditForm Update Errors
Power Apps
Answered

EditForm Update Errors

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone,

 

I've create a basic canvas phone app through the wizard using a CDS Entity for the data source. When I edit a selected record through the EditForm, if I clear a field that has text in it and then submit the form, the system throws an error message "An entry is required or has an invalid value" for the field I cleared. This happens in multiple text input fields I have tested. These fields are not defined as required fields in CDS. I would think I could clear the data in one of these fields and submit the record change. It seems to act as though once the record is saved with a value in one of these text input fields that it requires a value in it going forward. 

 

Can someone please explain to me why this is happening and what I can do about it? Thanks for any help or ideas.

 

AdamE

 

Categories:
I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    To update a Null value, you should firstly turn on the New feature ” Formula-level error management”, and use Blank() to convert the empty string to Null value.

     

    The Text Input control in EditForm will return an empty string if no characters are within it. But CDS entity need a Null value to update the empty text field.

    So you will need to convert the empty string returned by the Text Input control into a Null.  The easiest way to do this is by using the formula Coalesce( TextInput.Text, Blank() ).

    You can place it on the Update property of DataCard in the form.

     

    So please refer to following steps:

    1. Turn on the New Feature setting: Formula-level error management.From File – App Setting – Advanced Setting – Formula-level error management.
    2. Unlock the DataCard of form in Advanced property.
    3. Modify the formula of update property of DataCard as below:
    Coalesce( DataCardValue1.Text, Blank() )

    For more information, please refer to this Blog: Empty strings vs. Blank (Null) values

     

    Best regards,

    Sik

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard