Hello,
I am using your excellent Chronoforms to produce an orderingsystem for a travel-agency, but I have a big challenge:
I need to display a datepicker/calendar with only a few selectable dates!
How can I do this?
Regards,
Kurt
Norway
I am using your excellent Chronoforms to produce an orderingsystem for a travel-agency, but I have a big challenge:
I need to display a datepicker/calendar with only a few selectable dates!
How can I do this?
Regards,
Kurt
Norway
Hi Kurt,
Which version of ChronoForms are you using?
You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
Which version of ChronoForms are you using?
You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
Hi Kurt,
If its a range of dates then you can use the "minDate" and "maxDate" options for the picker.
Regards,
Max
If its a range of dates then you can use the "minDate" and "maxDate" options for the picker.
Regards,
Max
Hello!
Its not only a selection of dates, but more a few dates each month, so it would be great to have the possibility to select each date.
Is that somewhat possible?
Its not only a selection of dates, but more a few dates each month, so it would be great to have the possibility to select each date.
Is that somewhat possible?
Hi frontal,
Sorry, I've had this tab open for ages waiting to find the time to test an answer :-(
I don't think it is possible with the Monkey Physics datepicker used by ChronoForms without hacking the code.
BUT, if you don't mind a little work you can replace that with the MooTools DatePicker which is an updated and improved form of the Monkey Physics one. There are instructions for making the change here .
The docs for the MooTools Date Picker are here and you'll see that there is an option that does what you need:
Bob
Sorry, I've had this tab open for ages waiting to find the time to test an answer :-(
I don't think it is possible with the Monkey Physics datepicker used by ChronoForms without hacking the code.
BUT, if you don't mind a little work you can replace that with the MooTools DatePicker which is an updated and improved form of the Monkey Physics one. There are instructions for making the change here .
The docs for the MooTools Date Picker are here and you'll see that there is an option that does what you need:
availableDates: (object, defaults to null) When only a few dates should be selectable. An object like {2011: {1: [19, 29, 31], 3: [5, 19, 24]}} with all the dates (year -> months -> days).
Bob
This topic is locked and no more replies can be posted.