Recently Browsing 0 members
- No registered users viewing this page.
I have a frontend contact form with datepicker and need to have the german localization for it.
I read about localization of datepicker on the jQuery Ui API page.
How can I implement this in PW? I'm using FormBuilder module
My form is loading these assets:
I rolled a custom UI theme and amended the js to have German language for datepicker.
Now when I load that js file on top of the above mentioned, nothing changes. So I guess, the standard PW datepicker options do net get overridden by my custom theme js.
In this thread apeisa says
How would I go about it?
PS: and sorry for doubleposting. I thought I explain my situation a bit more in this new thread.
I'm trying to build a date input field with following functionality:
- Date can be manually typed using format dd.mm.yyyy
- Date can be selected using datepicker (which should output the date in dd.mm.yyyy format)
The problem is that the date field only accepts dashes (-) as a separator so the date must be entered using format mm-dd-yyyy. Also, when a date is selected using datepicked, it is outputted in mm-dd-yyyy format.
How can I change the format to dd.mm.yyyy? I tried to change the format settings but it had no effect.
I'm using Processwire 2.3.0.
EDIT: The datepicker works correctly in admin section but not in my front-end custom page.