Contact Form 7 Datepicker
Date format syntax in shortcode (2 posts)

  1. Eric
    Posted 3 years ago #

    What's the proper syntax for formatting the date in the short code in the Contact Form 7 form editor?

    I tried [date speaker_date id:speaker_date dateformat:%M %j, %Y], but that failed.

    I'm looking to display like so: Jan 1, 2013



  2. smity.smiter
    Posted 3 years ago #

    I guess the shortcode you need would be as follows:
    [date date-test date-format:M.d.yy]

    EDIT: I decided to go through the sourcecode, and found '_' can be used to output blank spaces. so, your required shortcode would be

    [date date-test date-format:M_d_yy]

    again, some problem with ',' which i'm not going to look into.

    // EDIT complete

    I didn't go through the plugin source code, so I don't know why exactly you can't give blank space as a separator.


    This link is provided inside the plugin itself, inside the tag generator, "Help".

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7 Datepicker
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.