Hello @iresearchex,
The reason this doesn’t work is that you are using a mail tag as a form tag.
You need to use a form tag in your Form tab content, like this:
[date* donate-date]
And this mail tag in your Message body field within Mail tab:
[_format_donate-date "d M y"]
See Date field.
Best regards,
Yordan.
Hi, thanks you @yordansoares and now i have another problem, the date in form showing mm/dd/yyyy and i want it to show like dd/mm/yyyy it cant, i have tried this code [date-format: dd/mm/Y] or [date-format: d/m/y] both failed. Pls help me~
Hello @yordansoares,
I’m afraid you didn’t read the Doc post I left you above: Date field.
This behavior it’s controlled by the browser and locale by default, so it’s not under your control. You can read more in the MDN Web Doc > <input type=”date”>.
Best regards,
Yordan.
hi, @yordansoares
which means this is uncontrollable?
Hello @iresearchex,
You can control the output in the email, using the special mail tag [_format_your-date "D, d M y"], but you can’t control the input UI by default. It’s possible, strictly speaking, but it’s not at all easy to achieve, and it is definitely not possible with Contact Form 7 settings.
Hope it helps you.
Best regards,
Yordan.