cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
srg
Level: Powered On

Error - An entry is required or has an invalid

All off a sudden I get an error when editing a shareopoint list item that has  a custom powerapp sharepoint edit form, with no changes made to the app in a month. Also the error doesn't identify which field or column is causing the issue. Any help or suggestions on how to troubleshooting this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Error - An entry is required or has an invalid

@srg 

So the Update properties of the columns you know are required are all good?  If so, then I would next take a look at the SharePointIntegration.OnSave property and see what that formula looks like.  

This will be found on the left control tree.  You can click on the SharePointIntegration and then in the formula bar, drop down the list on the left and choose the OnSave property.  See if there are issues there or post back what you are seeing.
EDIT: It should be a SubmitForm(yourForm).  Make sure the yourForm is the name of the form that is your edit form.

 

Finally, I would select the EditForm in the left control tree and then delete it.  Then immediately do an undo (ctrl-z) to bring it back.  Many times, if the form has gotten "confused", doing this will "Reset" it back to "normal".

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

8 REPLIES 8
Dual Super User
Dual Super User

Re: Error - An entry is required or has an invalid

@srg 

 

Can you please share more details about the error that you are getting? Can ou please share a screenshot? That way we might better identify the issue and assist you with this. 
srg
Level: Powered On

Re: Error - An entry is required or has an invalid

The error started to pop up with no changes made to the sharepoint custom forms, it does pop up only in the edit form and not in the new form. I didn't make any changes to the list item, just opened it to edit and hit save and I get the error. Attached is the error screenshot.

 

I have republished the app with no luck couple of times. I have also checked if the any of the fields were made required by mistake, but none are except for what I already know and have been filling them

 

Thank you !!

 

 

Super User
Super User

Re: Error - An entry is required or has an invalid

@srg 

Take a look at the Update properties on the EditForm for the known required columns.  I'd be curious to see if there are any errors in them or if they are somehow not providing the information needed to satisfy the "required" requirements.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
srg
Level: Powered On

Re: Error - An entry is required or has an invalid

Hello Randy,

 

How can I get to update properties, is it in the advanced tab of the column properties?

Super User
Super User

Re: Error - An entry is required or has an invalid

@srg 

EditForms are containers of DataCards.  Your Edit form will have as many datacards as you have fields assigned.

Each DataCard has (depending on the underlying field/column type) an Update property, a Default property, and a DataField property.

The curiosity is on the Update property for those datacards...

So, click on a datacard in your control tree (left side) and then click on the Advanced properties on the right.  Under the Data section (and you might need to click on "More options" to see it), you will find the Update and other properties mentioned.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
srg
Level: Powered On

Re: Error - An entry is required or has an invalid

Thank you Randy, I was able to locate the update property, it mentions the corresponding DataCardValue and I didn't notice anything wrong there.

Super User
Super User

Re: Error - An entry is required or has an invalid

@srg 

So the Update properties of the columns you know are required are all good?  If so, then I would next take a look at the SharePointIntegration.OnSave property and see what that formula looks like.  

This will be found on the left control tree.  You can click on the SharePointIntegration and then in the formula bar, drop down the list on the left and choose the OnSave property.  See if there are issues there or post back what you are seeing.
EDIT: It should be a SubmitForm(yourForm).  Make sure the yourForm is the name of the form that is your edit form.

 

Finally, I would select the EditForm in the left control tree and then delete it.  Then immediately do an undo (ctrl-z) to bring it back.  Many times, if the form has gotten "confused", doing this will "Reset" it back to "normal".

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

srg
Level: Powered On

Re: Error - An entry is required or has an invalid

Thank you Randy, the OnSave was not configured properly(not sure how it was working earlier, may be we didn't test it properly). You are a savior !!

 

Thank you Yash for looking into this !!

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,189)