Reputation: 33
I'm completely new to chronoforms
.
I have joomla 3.0 running on my localhost and installed the chronoforms script V4 RC3.3. I have already put some textboxes and stuff together in a form an everything works fine so far.
My problem is the datetime picker
. I put the box in my wizard an changed it to mootools picker and vista style. No problem so far. But how can I change the output of the date format to dd.mm.yyyy?
I'm also use "format: '%d %m %Y' "
, But i have 4 field start date, end date, start time and end-time.
Above format is change all field, but i try to change only date field
.
I searched forums and everything I tried doesn't work. It all ended in the format yyyy-mm-dd. So where do I have to change something to get the output I want?
Many thanks in advance to all who wanna help...
Upvotes: 0
Views: 1419
Reputation: 7
Upgrade to new Chronoforms V5 that already have a new Datepicker element. Edit your form, select Design tab, edit datepicker field and you will find selectbox called Format to choose the date format.
Upvotes: 1
Reputation: 2361
try this
var dp = new DatePicker("#yourid",{format:"%d %m %Y "});
Upvotes: 0