Forums

TimePicker not displaying

Idyllwyld 13 Jun, 2011
When I "Enable Time Picker" the datepicker calendar doesn't display on my forms.

If I disable it, the calendar appears and functions normally. At first, it was being covered by other page elements but after adding the following code snippet to datepicker_dashboard.css it appears properly:

div.datepicker_dashboard {
  z-index: 10000 !important;
}


Is the "time picker" also being hidden by other page elements? If so, what line of CSS would need the z-index tweak to get it to appear on top?
GreyHead 14 Jun, 2011
Hi idyllwyld,

In CFv4 the three classes used seem to be cf_datetime_picker, cf_time_picker and cf_date_picker.

Bob
Idyllwyld 14 Jun, 2011
I just discovered the "Custom Datepicker" Event element, so I added it to my OnLoad box. Since doing that, timePicker now appears after picking a date.

However, while I see the date appear in the form field, the time does not. Meanwhile the emailed results contain the time, yet the formatting differs from what I set in the Custom Datepicker event (both 'format' and 'inputOutput') -- the seemingly infamous "date formatting issue".
GreyHead 27 Jun, 2011
Hi idyllwyld ,

In my tests the Custom DatePicker behaved OK as long as I had matched the classes between the DatePicker element and the Custom DatePicker action.

Is this still an issue?

Bob
Idyllwyld 28 Jun, 2011
I figured out which elements correspond with the custom Datepicker action. Though admittedly, I ended up not using TimePicker in the end. And I even got the date formatting issue solved, though it took some diving into the PHP code to do so. I'm willing to share, if anyone's interested.

Thanks for the advice, Bob.
This topic is locked and no more replies can be posted.