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 / Error message when sub...
Power Apps
Answered

Error message when submitting an edit form that contains a combobox

(2) ShareShare
ReportReport
Posted on by Microsoft Employee

I have an Edit screen that contains a combobox. When I want to modify data of a specific record without touching/changing the value of the combobox, I get the following message:

 

An entry is required or has an invalid value. Please correct and try again.

 

The items of the combobox are filled based upon the user:

Filter(Addresses1; Driver.Text in Driver)

The Update syntax of the DataCard is:

ComboBox1.Selected.Address

The combobox actions set are:

Default = 

DeaultSelectedItems = [ThisItem.LeaveAddress]

 

So, I left 'Default' blank.

 

When I reselect the value that is shown in the combobox field, then there is no error message when submitting the form. Still, this should not be the way of working.

 

Any suggestions on how to solve this issue? Thanks in advance !

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Coming back to my post earlier today, I found out why I got the message...for the combobox field I set the 'required'-option to true. Appearantly, this caused the error. Making this field not required solved the problem.

     

    Still, I am curious to find out why there is an error message. It should be possible to set a combobox field as required.

    Has someone been able to reproduce a similar issue? 

  • Remy_0722 Profile Picture
    15 on at
    if you ever are in a situation where your field needs to be required and it's showing an error when submitting. 
    (because it's required and there's a default selected item but powerapps does not want to recognize that as a selected value even there's something selected)
     
    then you can use this in the Card->Required-> 
    CountRows(YourComboBox.SelectedItems)<
     
    this means:
    -if nothing selected then countrows=0 it's <1 so it will be required
    -if something selected manually countrows=1 it's not <1 so it will not be required
    -if something selected (not by you, by a default set up) (our case) then 
    countrows will also be=1 and it's not <1 so it will not be required
     
    if you dont do this and something is selected by default (not you) it will be considered
    empty field eventhough there's something selected.
     

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard