I’m using Contact Form 7
plugin in WordPress, I would like some help in my datepicker
on how to change the display date format in the front end in my form.
The default displays mm/dd/yy
and I want to change it to dd/mm/yy
but unfortunately I could not used this code:
dateFormat:dd/mm/yy
it seems it was not working.
I also tried to change the code in the plugin editor of datepicker but it did not work also.
Do you have any idea? an you help me how to change the date format without installing contact form 7 datepicker because I would like to use the default datepicker that include in the contact form 7.
I changed the display date format to
dd/mm/yy
in the front end (also in the generated email) of my form by using plugin Custom Datepicker NMR for Contact Form 7.This allows you to use a new input field in your contact form called
[datepicker ]
Install/activate the plugin and specify format date to show in the web browser like this:
This plugin uses jquery-ui datepicker.
You do the configuration in the shortcode.
Worked perfectly for me. Try with no spaces:
date-format:dd/mm/yy
So code for me in full for the line looked like this:
All you have to do is put:
Obviously put the dates you wish to use.