cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

powerapps "an entry is required or has an invalid value. please correct and try again." - Date Field

Hello,

 

I have reviewed this issue in the forums.

 

I have ensured that all fields in sharepoint are in powerapps

I have sharepoint lists and so I set evey column to requiered "no"

I have the data in powerapps set to false

I have set the date and time using 12 hour. both sarepoint and powerapps are the same.

I have set my language in sharepoint as US-English. (I am Canadian)

 

Entry when playing the app works both ways, read and write work fine. (both edit and new entry)

 

Entry on the phone comes back with the error "an entry is required or has an invalid value. please correct and try again." for both date fields.

 

(Attachment shows the error)

 

A little about the list and app:

 

LIst is for a simple time sheet. It looks up a staff member from the staff list and has a start time and an end time.

The power app is basically created out of the list, so almost out of the box. I made two custom cards for the start and end date.

 

Card Update "Start_x0020_Time": DateValue1.SelectedDate + Time(If(AmPmValue1.Selected.Value = "PM", 12, 0) + Mod(Value(HourValue1.Selected.Value), 12), Value(MinuteValue1.Selected.Value), 0)

 

  • added AmPmValue1
    • Default: If(Hour(Parent.Default) < 12, "AM", "PM")
    • Items: ["AM","PM"]
    • Changed Hours:
      • Items: ["12","01","02","03","04","05","06","07","08","09","10","11"]
      • Default: Text(If(Mod(Hour(Parent.Default), 12) = 0, 12, Mod(Hour(Parent.Default), 12)),"[$-en-US]00")
        • I cannot change the [$-en-US] as it auto populates

 

Card Update "End_x0020_Time": DateValue2.SelectedDate + Time(If(AmPmValue2.Selected.Value = "PM", 12, 0) + Mod(Value(HourValue2.Selected.Value), 12), Value(MinuteValue2.Selected.Value), 0)

 

  • added AmPmValue2
    • Default: If(Hour(Parent.Default) < 12, "AM", "PM")
    • Items: ["AM","PM"]
    • Changed Hours:
      • Items: ["12","01","02","03","04","05","06","07","08","09","10","11"]
      • Default: Text(If(Mod(Hour(Parent.Default), 12) = 0, 12, Mod(Hour(Parent.Default), 12)),"[$-en-US]00")
        • I cannot change the [$-en-US] as it auto populate

Please advise!

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: powerapps "an entry is required or has an invalid value. please correct and try again.&

Permissions are open to the whole team. Since I made it open permissions and removed these dates fields as requiered fields in sharepoint the app will submit the data but there will not be date entry's made, they are instead left blank.

 

Thanks for helping...

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Re: powerapps "an entry is required or has an invalid value. please correct and try again.&quot

Missing attachment.

PowerApp Error.jpeg

 

Community Support Team
Community Support Team

Re: powerapps "an entry is required or has an invalid value. please correct and try again.&

Please take a check the with the SharePoint permission.

Some users shared that the save data will not work if the permission is not right.

 

Which SharePoint permission level you are currently working with?

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: powerapps "an entry is required or has an invalid value. please correct and try again.&

Permissions are open to the whole team. Since I made it open permissions and removed these dates fields as requiered fields in sharepoint the app will submit the data but there will not be date entry's made, they are instead left blank.

 

Thanks for helping...

View solution in original post

Anonymous
Not applicable

Re: powerapps "an entry is required or has an invalid value. please correct and try again.&

Could this be a language setting issue somewhere?

Anonymous
Not applicable

Re: powerapps "an entry is required or has an invalid value. please correct and try again.&

I didn't realize there are more permission options when you look under sharepoint designer. This worked perfectly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,978)