Welcome Guest Search | Active Topics | Sign In | Register

datetime picker max time value Options
Jason
Posted: Friday, September 7, 2012 2:50:02 AM
Rank: Member
Groups: Member

Joined: 10/18/2010
Posts: 29
Hello

Is there any way to set the maximum time on a datetimepicker control to be <= current time? I currently have the maxvalidDate = system.datetime.now, which is preventing the end user either selecting a date via the calendar control, or manually entering a date > today's date. The only issue is that the picker control still allows time values greater than current time

Thanks

Jason
eo_support
Posted: Friday, September 7, 2012 7:33:42 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

No. I do not believe there is any control on the time part. You might want to add some JavaScript code to validate user input before submitting the page.

Thanks!


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.