Hi There,
I'm using ChronoForms 4.0 RC1.8.
I'ld love to use the DateTimePicker, too. But I only need the date - not the time (It's crazy, when you ask for someones birthday, isn't it)
Is there a way to disable this behavior?
Thanks allot
PT
I'm using ChronoForms 4.0 RC1.8.
I'ld love to use the DateTimePicker, too. But I only need the date - not the time (It's crazy, when you ask for someones birthday, isn't it)
Is there a way to disable this behavior?
Thanks allot
PT
Hi PascalTurbo,
There are several settings for the DateTime Picker that you can configure in the Form General tab using the "DateTime Picker selector" at the bottom of the Form General Tab (Click the Form Name link in the Forms Manager to open it).
See this post for info on DatePicker options and a link to the full docs.
Unfortunately there are also some bugs in the DatePicker code in the current release that may affect the way that this works. Please see this post for information on the bugs and fixes from them in Joomla! 1.5
Bob
There are several settings for the DateTime Picker that you can configure in the Form General tab using the "DateTime Picker selector" at the bottom of the Form General Tab (Click the Form Name link in the Forms Manager to open it).
See this post for info on DatePicker options and a link to the full docs.
Unfortunately there are also some bugs in the DatePicker code in the current release that may affect the way that this works. Please see this post for information on the bugs and fixes from them in Joomla! 1.5
Bob
Well, I had 4.0 RC 1.8 and had trouble with the DatePicker not working correctly. I fixed that by editing line 195-199 in cfaction_show_html.php in administrator/components/com_chronoforms/form_actions/show_html/ and changing it to the following:
$settings = array(
"'.cf_date_picker', {pickerClass: 'datepicker_dashboard', inputOutputFormat: 'Y-m-d', allowEmpty: true, format: 'Y-m-d'}",
"'.cf_datetime_picker', {pickerClass: 'datepicker_dashboard', inputOutputFormat: 'Y-m-d H:i', timePicker: true, allowEmpty: true, format: 'Y-m-d H:i'}",
"'.cf_time_picker', {pickerClass: 'datepicker_dashboard', inputOutputFormat: 'H:i', timePickerOnly: true, allowEmpty: true, format: 'H:i'}"
);
This topic is locked and no more replies can be posted.