Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2991 closed enhancement (invalid)

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:



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)

datepicker_rev170_enhancements.patch (1.5 KB) - added by insekticid 15 years ago.

Download all attachments as: .zip

Change History (2)

Changed 15 years ago by insekticid

comment:1 Changed 15 years ago by flesler

Resolution: invalid
Status: newclosed

Please repost this to the UI Bug Tracker.


Note: See TracTickets for help on using tickets.