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
Highlighted
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
Highlighted
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

 

Highlighted
Community Support
Community Support

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.
Highlighted
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

Highlighted
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?

Highlighted
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
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,972)