cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver III
Resolver III

PowerApps form for SharePoint list accepting and converting invalid dates

I have a Date only field on a SharePoint list. I use the date picker control in PowerApps. I noticed that when the user doesn't use the picker feature and just types a date, there's no validation to make sure this date is real.

When I type in 2/30/2019, the date submits. The DataCardValue.SelectedDate value is actually 3/2/2019 which is also how it's recorded in SP. I guess is correct but I only want users to be able to type real dates so that there's no mismatch between entry and recorded value

Is there any function to catch this invalid date on the PowerApps side?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: PowerApps form for SharePoint list accepting and converting invalid dates

Hi @cooper33 ,

Do you want to check if the typed date value (not picked Date value) is valid within the DatePicker control?

 

Currently, within PowerApps, there is no function supported to check if a Date value is valid. If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: PowerApps form for SharePoint list accepting and converting invalid dates

Hi @cooper33 ,

Do you want to check if the typed date value (not picked Date value) is valid within the DatePicker control?

 

Currently, within PowerApps, there is no function supported to check if a Date value is valid. If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
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

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,412)