Title: Date format in value attribute
Last modified: January 28, 2022

---

# Date format in value attribute

 *  Resolved [Mathieu Chartier](https://wordpress.org/support/users/evigeo/)
 * (@evigeo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/date-format-in-value-attribute/)
 * Hi,
    Is it possible to edit the date format value attribute (in the input field)?
   It seems no filter exists for this. I know I can edit format in the email body,
   but not in the value attribute.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/date-format-in-value-attribute/#post-15304602)
 * What do you mean by “the date format value attribute”?
 *  Thread Starter [Mathieu Chartier](https://wordpress.org/support/users/evigeo/)
 * (@evigeo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/date-format-in-value-attribute/#post-15308050)
 * Sorry for my bad English! ^^
    In the plugin, the date format seems to be always“
   YYYY-MM-DD” in the “value” attribute (in the <input type=”date”…/>). Would it
   be possible to add a filter to edit this format? I need to get the date in the
   French format (“DD/MM/YYYY”). It’s fine in the email body (with the shortcode[
   _format_xxx “d/m/Y”]) but the value in the input stays in the English format,
   and I can’t edit it. 🙁
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/date-format-in-value-attribute/#post-15309010)
 * See [Date field](https://contactform7.com/date-field/)
 *  Thread Starter [Mathieu Chartier](https://wordpress.org/support/users/evigeo/)
 * (@evigeo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/date-format-in-value-attribute/#post-15310076)
 * Already done, but the format is always in English… I tried everything and I hope
   you can create a filter to edit the date format in the value attribute. I know
   the W3C recommandation but if people in W3C didn’t speak English, maybe they 
   would understand the limit of this rule in certain contexts… Creating a filter
   would be the simplest solution, and quick to do. 🙁

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Date format in value attribute’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Mathieu Chartier](https://wordpress.org/support/users/evigeo/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/date-format-in-value-attribute/#post-15310076)
 * Status: resolved