Hello Takayuki Miyoshi,
In your link, it is not explained how to change the format from YYYY-MM-DD to DD/MM/YYYY.
If I see other posts on the same topics, it says that it is not possible to change the date format.
Could you please confirm it?
Even I want to know how to change the date format to DD-MM-YYYY.
The plugin developer seems less interested in answering it.
mfk
(@fariskassim)
me too. in my date picker its showing [dd/mm/yyyy] but in email its [yyyy/mm/dd]
any ideas how?
The date field does not show Placeholder text/ The date selector shows YY/MM/DD or MM/DD/YY. To fix all this issue install https://wordpress.org/plugins/contact-form-7-datepicker/ plugin and just activate it. It will do the charm.
For the date format use date-format:dd/mm/yy in your form inside WordPress admin panel while creating form.
Thank you Takayuki Miyoshi for this great plugin !
The plugin works and has a very intuitive documentation except the part with the date format. For me is not clear how to handle with the date format because it doesn’t work like in the docs.
I try to set the input date format to “d.m.Y”
this will be rendered as an input field, but with the standard date format:
[date c7-date class:c7-datefield placeholder “Geburtsdatum z.B. 01.01.1990”]
none of them will work, this tags are rendered as text:
[date c7-date class:c7-datefield placeholder “Geburtsdatum z.B. 01.01.1990”]
[_format_c7-date “d.m.Y” class:c7-datefield placeholder “Geburtsdatum z.B. 01.01.1990”]
[_format_c7-date “d.m.Y”]
Do I need the second plugin(contact-form-datepicker) to get this work?
Or maybe I didn’t understand the docs? Or is this a bug?
Yeah you will need the Date Picker plugin as I mentioned above.
in Date Field instructions it says:
“To change the format in mail, you can use a variant of mail-tag notation [_format_{field name} “{date format}”].
Example:
[_format_your-date “D, d M y”]”
But it doesn’t say where do i insert this mail tag.
Please advise.
Thank you.
@egoruk – this is a Mail tag which you insert in the Mail section of the CF7 interface.
Yes, thank you, I already figured it out how.