Title: [Plugin: Contact Form 7 Datepicker] Problem with setting default value
Last modified: August 20, 2016

---

# [Plugin: Contact Form 7 Datepicker] Problem with setting default value

 *  [vikkineal](https://wordpress.org/support/users/vikkineal/)
 * (@vikkineal)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-datepicker-problem-with-setting-default-value/)
 * Hi, I’m trying to add a ‘value’ to my date field… I have no labels in the form
   and want the values to appear by default, then on click, they clear. I’ve managed
   to do this for all other fields in my form HOWEVER i can’t even get the value
   to show in the date field to start with.
 * I’ve tried the following
 *     ```
       <li>[date* date-545 id:callBackDate value="Date"]</li>
       ```
   
 * and
 *     ```
       <li>[date* date-545 id:callBackDate "Date"]</li>
       ```
   
 * and
 *     ```
       <li>[date* date-545 id:callBackDate "YYYY-MM-DD"]</li>
       ```
   
 * and
 *     ```
       <li>[date* date-545 id:callBackDate value="YYYY-MM-DD"]</li>
       ```
   
 * and finally…
 *     ```
       <li>[date* date-545 id:callBackDate "%j / %n / %Y"]</li>
       ```
   
 * But no joy.
 * Any advice?
 * [http://wordpress.org/extend/plugins/contact-form-7-datepicker/](http://wordpress.org/extend/plugins/contact-form-7-datepicker/)

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

 *  [hyshka](https://wordpress.org/support/users/hyshka/)
 * (@hyshka)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-datepicker-problem-with-setting-default-value/#post-2973576)
 * Hello,
 * I was just fiddling with this myself, I don’t know if there is a way to do what
   you are asking.
 * But I have found this for example:
    `[date* departure value:"2012-12-28"]`
 * Pre-selects the date in the date-picker, but does not change the formatting or
   display in the text box.
 * Cheers,
    Let me know if you make any progress
 *  [stripboek](https://wordpress.org/support/users/stripboek/)
 * (@stripboek)
 * [13 years ago](https://wordpress.org/support/topic/plugin-contact-form-7-datepicker-problem-with-setting-default-value/#post-2973598)
 * I have the same problem. The field is empty and only when you click on the field,
   the calender shows up. People can’t see what this calender is for.
 *  [Greginho](https://wordpress.org/support/users/greginho/)
 * (@greginho)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-datepicker-problem-with-setting-default-value/#post-2973605)
 * Up!
    Someone found the solution ?
 * I tried these:
 * `[date* date-xxx id:x class:x "Date"]`
    or `[date* date-xxx id:x class:x placeholder"
   Date"]`
 * But impossible to get something in this field… 🙁
    For the moment, it is blank:
   [http://quentesens.com/contact](http://quentesens.com/contact)
 * When I use Firebug, I can see that my text appears in the code `value="date"`
 * ..?
 * Thank you.

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

The topic ‘[Plugin: Contact Form 7 Datepicker] Problem with setting default value’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-datepicker.svg)
 * [Contact Form 7 Datepicker](https://wordpress.org/plugins/contact-form-7-datepicker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-datepicker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-datepicker/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-datepicker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-datepicker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-datepicker/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Greginho](https://wordpress.org/support/users/greginho/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-datepicker-problem-with-setting-default-value/#post-2973605)
 * Status: not resolved