web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Validate manual entere...
Power Apps
Suggested Answer

Validate manual entered Date field

(0) ShareShare
ReportReport
Posted on by 77
Dear All,
 
I've a Canvas PowerApps having SharePoint List as database. I'm using classic date picker. We have 4 date fields on form where user can select dates and having specifix format as yyyy-mm-dd.
 
Client needs functionality of manually enter the date. So for our date pickers, we have set
 
isEditable=true
 
Now user can enter the date.
But now I need to validate the dates which has been entered. If user enters wrong date or wrong format then alert the user and only allow user to submit correct dates. But I'm not getting anything how to implement this properly. Any help will be highly appreciated.
 
 
Thanks,
Sanjay
I have the same question (0)
  • Suggested answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at
    Whenever the user changes the date - either through the picker or types anything, the OnChange property will be triggered. Here you can check for the format and the validity of the date.
     
    Please remember to give a like👍and mark this reply Answered as it will help others in the future.
     
  • Suggested answer
    Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at
    HI,
     
    On Select of Button (While Saving) get the Date value form the Field and Validate it like Datepicker.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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard