2 Calenders in one Form

digitalbot 10 Feb, 2014
Hello,

I'm trying to create a booking form and it has 2 calendars on it. What I'm trying to achieve is, 1st calendar can select any dates and 2nd calendar can only select future dates, eg. 7 days advance, past dates are disabled.

How do I go about it?

Please help.

Thanks.
digitalbot 12 Feb, 2014
Hi Bob,

I'm actually not linking two calendars..it's just that I have 2 calendars in one form but not linked.

1. Birthday Input = can only select past years/dates
2. Booking Input = can only select future dates. Ex. 7 days from present day.

I don't know how to have those functionalities implemented.. 😟

Thanks.
Max_admin 12 Feb, 2014
Maybe you can assign a different class for each picker, and use a different "date picker" action for each one of them, with different config for the picker.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.