2 date pickers, 2nd depending on 1st

moleculezz 21 Apr, 2010
Hello,

I was searching the forums to find some information about this but was unable to do so.

I have 2 fields to select dates. Depart date and return date. What I wanted to do is to restrict the return date field to at least 1 day after selected depart date. Is this at all possible?

Even better would be to have a time picker integrated and have a 24 hour difference of the 2 fields, but I was not able to find anything about time picker in the forums either.
GreyHead 21 Apr, 2010
Hi moleculezz,

You can link two calendars with a fixed gap between them. That's been posted here a couple of times or you can see the Aeron calendar docs.

The Aeron calendar doesn't have a time-picker (the standard Joomla one does but it's not very nice).

There is a better stand-alone time-picker in the Watchman plugin configuration but you'd need to add the code to check the differences.

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