Hi Bob,
I looked in your forum and after a lot off puzzling I had almost the daypicker how I want it but one thing I can't find out.
I want that it specify a start date of today and block all past dates.
What must I put after the minDate:???? Not a fixed date, it must be dynamic because all old dates must be blocked so people can't select them. Now is only the day of today higlighted and I can select all past days.
Your code is not working:
and this is a fixed date
Hopefully you cab help me.
Best Regards Stephanie
I looked in your forum and after a lot off puzzling I had almost the daypicker how I want it but one thing I can't find out.
I want that it specify a start date of today and block all past dates.
What must I put after the minDate:???? Not a fixed date, it must be dynamic because all old dates must be blocked so people can't select them. Now is only the day of today higlighted and I can select all past days.
Your code is not working:
minDate: new Date().decrement('day', 4)
and this is a fixed date
minDate: { date: '10-03-2009', format: 'd-m-Y' }
Hopefully you cab help me.
Best Regards Stephanie
Hi Stephanie,
The minDate code only works if you switch to the updated MooTools version of the DataPicker library (see this post).
Bob
The minDate code only works if you switch to the updated MooTools version of the DataPicker library (see this post).
Bob
This topic is locked and no more replies can be posted.