Skip to main content

Bug Tracker

Side navigation

#2991 closed enhancement (invalid)

Opened June 05, 2008 02:47PM UTC

Closed June 06, 2008 01:01AM UTC

New methods for Datepicker

Reported by: insekticid Owned by:
Priority: major Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: datepicker Cc:
Blocked by: Blocking:
Description

Hello,

I added new methods for Datepicker validation, here is my patch for latest version

new methods: isMaxDate, isMinDate, isDateInRange

now It is possible to validate Datepicker dates with validate plugin

$.validator.methods.dateMin = function (value, element, param) { 

return $(element).datepicker('isMinDate'); 

}; 

$.validator.methods.dateMax = function (value, element, param) { 

return $(element).datepicker('isMaxDate'); 

}; 

$.validator.methods.dateRange = function (value, element, param) { 

return $(element).datepicker('isDateInRange'); 

};

my last outdated patch http://dev.jquery.com/ticket/2832

Attachments (1)
Change History (1)

Changed June 06, 2008 01:01AM UTC by flesler comment:1

resolution: → invalid
status: newclosed

Please repost this to the UI Bug Tracker.

Thanks.