Welcome Guest Search | Active Topics | Sign In | Register

Datepicker Validation and years Options
Loren Dorez
Posted: Friday, February 27, 2009 1:57:30 PM
Rank: Advanced Member
Groups: Member

Joined: 1/9/2009
Posts: 97
When i type in a 2digit year the datepicker defaults to the 21st centry. I need it to revert to 20th Centry

Example:
i type 62 it goes to 2062 i want 1962. is this possible?

Also when i set max and min dates etc. The user can bypass those by typing in the date

eo_support
Posted: Friday, February 27, 2009 2:02:52 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
No. That is not possible. You will need to type all 4 digits in that case. This is one of the cases where some people wanted it this way and some other people wanted it that way. Theoretically we could put an option there but that would have made the product too bloated.
Loren Dorez
Posted: Friday, February 27, 2009 2:35:54 PM
Rank: Advanced Member
Groups: Member

Joined: 1/9/2009
Posts: 97
Is there a clientside function for the textbox change that i can use to check after they type it in and revert back to 1962 if the year is greater than current year?
eo_support
Posted: Friday, February 27, 2009 2:44:16 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Please check the Calendar client side API. That's what it is created for. You can also find samples in our sample project for that.
Loren Dorez
Posted: Friday, February 27, 2009 3:29:09 PM
Rank: Advanced Member
Groups: Member

Joined: 1/9/2009
Posts: 97
All i see is about selecteddate changing when the user finished typing in the TextBox does that trigger the selecteddate change event?


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.