datepicker minDate

raivis 13 Jul, 2012
Hi Guys!

I am trying to set minDate for Custom Datepicker.
As soon as I insert minDate option into Extra options extension of the Custom Datepicker, the Datepicker calendar does not appear at all. If I take off minDate option, everything works well. I tried also other options like startView or startDate, they do work well, except minDate.

I need to set up minDate as today.

I use monkeyphysics datepicker (custom option from Power Fields), Version 4.0 RC3.4.1

And also what code should I use if I take custom mootools datepicker?

At the moment my Extra options extension code line is following: (there is onSelect: getDays option which works well with added respective javascript function, and minDate is '10-07-2012' just to test the example from mootools example to test, actually I need minDate as today)
onSelect: getDays, minDate: {date: '10-07-2012', format: 'd-m-Y'}


Thanks,
Raivis
GreyHead 13 Jul, 2012
Hi Raivis,

I don't think that the MonkeyPhysics minDate and maxDate work with the version of MooTools used in Joomla! 1.6-2.5

Please see this post for info on setting up variable dates with the MooTools DatePicker.

Bob
This topic is locked and no more replies can be posted.