Hi All
I'm creating a reservation form and would like the datepicker calendar to display permanently and not only when the the datetime box is selected. Is this possible?
joomla 2.5.6
chronofoms v4
Thanks in advance for any help.
Not sure if this will work, but try this code in a load JS action:
window.addEvent('domready', function() {
document.id("DP_FIELD_ID").fireEvent("focus"); //replace the field id of your datepicker
});
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thanks for your response but I had no luck with the suggestion. I can see what you were trying to do though, focus on datepicker field forcing the calender to activate.
Any other suggestions? would love to get this to work.
Thanks again!
Well, the other solution will involve custom coding, try that code in a load JS action:
window.addEvent('domready', function() {
var dp = new DatePicker('inputField', {
timePicker: true,
pickerClass: 'datepicker_jqui'
});
dp.show();
});
Not tested though!
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I got something. It seemed to have loaded the days of the week (MO-SU) and all the days of the current month but without any structure or styling around it. And when you click on any of the days it simply disappears.
I feel it might be a tricky one to get to work. Thanks for trying though. I'll see what else I can find.
Hi Bob
Many thanks for pointing me in the right direction. This is pretty much what i'm looking for. I'll be giving it a go with my limited programming knowledge and I hope to report back to you with a positive result.
I'll keep you posted on any progress.
Kind regards
Decaf