Title: Date Field Default
Last modified: August 22, 2016

---

# Date Field Default

 *  [ss1972](https://wordpress.org/support/users/ss1972/)
 * (@ss1972)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/date-field-default/)
 * Hi,
 * Great plugin, already upgraded 🙂
 * The form default value when connected to a MC date field does not seem to work
   and reverts to dd/mm/yyyy making it almost impossible to use as a DOB field.
 * Thanks
 * [https://wordpress.org/plugins/mailchimp-for-wp/](https://wordpress.org/plugins/mailchimp-for-wp/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/date-field-default/#post-5206721)
 * Hi there,
 * It is a little hard with HTML5 right now to have a birthday field, so I would
   suggest either using the complete date of birth (dd/mm/yy) in a date field or
   a regular text field to capture just `dd/mm`.
 * _Date of birth (dd/mm/yyyy)_
 *     ```
       <input type="date" name="DOB" />
       ```
   
 * _Birthday (mm/dd)_
 *     ```
       <input type="text" name="BIRTHDAY" placeholder="MM/DD" />
       ```
   
 * You can add in some pattern validation so that the given date should match a 
   birthday.
 *     ```
       <input type="text" name="BIRTHDAY" placeholder="MM/DD" pattern="(0[1-9]|1[012]).(0[1-9]|1[0-9]|2[0-9]|3[01])" />
       ```
   
 * Hope that helps a little.

Viewing 1 replies (of 1 total)

The topic ‘Date Field Default’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp-for-wp/assets/icon-256x256.png?rev=1224577)
 * [MC4WP: Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-wp/reviews/)

## Tags

 * [default](https://wordpress.org/support/topic-tag/default/)
 * [dob](https://wordpress.org/support/topic-tag/dob/)
 * [field](https://wordpress.org/support/topic-tag/field/)

 * 1 reply
 * 2 participants
 * Last reply from: [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/date-field-default/#post-5206721)
 * Status: not resolved