• 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?

    https://www.ads-software.com/extend/plugins/contact-form-7-datepicker/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    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.

    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: https://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.