Forums

MooTools Date Picker Problem

K2Joom 24 Jun, 2014
Hey Bob,

I was researching into changing the date format, displayed when using the date picker and found the FAQ: http://www.chronoengine.com/faqs/64-cfv4/cfv4-using-the-datepicker/5126-how-can-i-format-a-date-in-the-datepicker.html

What I have found is, that when anything is placed into the DateTime Picker config field, such as '%m-%d-%Y' it cause the form layout to break.

The form itself is consists of a set of tabs which is laid out correctly, but once the config field is updated then all the tabs stack below each other.

Just wondered if you had any other reports of date picker breaking tabbed layouts.

Simon
K2Joom 24 Jun, 2014
I love this automated response🙂

On this occasion, the suggestions did not help, but appreciate your efforts.

Simon
GreyHead 24 Jun, 2014
Hi Simon,

It shouldn't break anything. What exactly are you putting where? Please post a link to the form so I can take a quick look.

Bob
K2Joom 24 Jun, 2014
Hi Bob,

You are right, it shouldn't break anything and it won't if the correct data is entered in to the DatePicker Config field.

If anyone else has a problem, make sure you enter
format: '%m-%d-%Y'
and not
'%m-%d-%Y'
.
The later will break the layout.

Operator error, even after RTFM.

Sorry for wasting your time Bob.

Simon
This topic is locked and no more replies can be posted.