WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7 Datepicker
[resolved] date picker doesn't work with version wordpress 3.5 (28 posts)

  1. morarz
    Member
    Posted 1 year ago #

    Hi,

    After when I am upgrade my wordpress from version 3.4.2 to 3.5 date picker stop working. What can happend ?
    I am trying reinstall plugin but still the same problem.
    In option my form I have a code:
    <p>Termin zapisu
    [date date-745 date-format:dd/mm/yy]</p>

    My form is here:
    http://organic-hair.pl/kontakt/
    Field "Termin Zapisu"
    Please help.

    http://wordpress.org/extend/plugins/contact-form-7-datepicker/

  2. i100anni
    Member
    Posted 1 year ago #

    Yes i confirm that not work on 3.5 :(

  3. garethdn
    Member
    Posted 1 year ago #

    Can also confirm that it's not working on 3.5

  4. shuvra124
    Member
    Posted 1 year ago #

    not working on 3.5, even its conflict with cf7 core plugin, i cant generate tag!

  5. khelios
    Member
    Posted 1 year ago #

    not working for me also

  6. wayne20
    Member
    Posted 1 year ago #

    not working here either, thanks.

  7. Bob
    Member
    Posted 1 year ago #

    Are you getting a validation error? If so, I think it may be the date-format you've chosen that's throwing it. Try date-format:dd-mm-yy (i.e. not dd/mm/yy). That worked for me - though this isn't the ideal date format for me, I wanted 'D, dd M yy' and can't get that to work at all.

    It seems that most of the 'standard' formats stop the date field from appearing on the form or, if the datepicker does pop-up and a date is selected, even though it appears in the field, ContactForm 7 can't validate it.

  8. marcoblg
    Member
    Posted 1 year ago #

    The same for me, if I change the default value of date format from mm/dd/yy to dd/mm/yy or M/dd/yy or dd/M/y it picks and shows the date correctly on form, but when you submit you get an "invalid date value" error message. It works only with the default date-format.

  9. morarz
    Member
    Posted 1 year ago #

    damn it. Bob, marcoblg it is not working for me :( I am post on main forum in datepicker forum but they said I've got old version of jquery :
    Source from my page:
    <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js?ver=3.5'></script>
    But this set plugin Maps Maker I guess and I am trying force set jquery to newest like this:

    /**
    *	Use latest jQuery release
    */
    if( !is_admin() ){
    	wp_deregister_script('jquery');
    	wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false, '');
    	wp_enqueue_script('jquery');
    }

    But It doesn't work for me.

  10. Bob
    Member
    Posted 1 year ago #

    Hi Morarz, there's a post here that shows how to force the latest version of jquery to load.

    Further down the comments it also recommends using the wp_enqueue_script functino which I see you're including.

    Hope this helps you but I'm not convinced this is the source of MY problems. Using the equivalent of firebug for Chrome I'm seeing that ContactForm 7 or my theme (not sure which) is loading jquery 1.9.2 !!

    Maybe something has changed in this recent version of jQuery that is breaking contactform 7 OR the datepicker plugin

  11. morarz
    Member
    Posted 1 year ago #

    Hi Bob Yes I am trying this code too... doesn't work for me.

  12. pma4life
    Member
    Posted 1 year ago #

    It works fine for me with WP version 3.5. Although, I found the form would would submit fine on the site, but the date was not appearing in the sent email. The reason was the watermark in the date field.

    Instead of:

    [date date-745 date-format:dd/mm/yy watermark "Whatever your placeholder text is"]

    I used:

    [date date-745 date-format:dd/mm/yy placeholder="Whatever your placeholder text is"]

    replacing watermark with placeholder=

    Hope this helps someone having the same issue.

  13. marcoblg
    Member
    Posted 1 year ago #

    Thank you Bob, it works dd-mm-yy but not with other format like dd-M-yy or else. It's ok anyway, better than nothing.
    Cheer!

  14. morarz
    Member
    Posted 1 year ago #

    marcoblg for me it is not working :((( Can You sent me a full code to Your datepicker code ?
    And what version jquery you are using now ??

  15. xarijus
    Member
    Posted 1 year ago #

    I'm here just to confirm that pma4lifes' solution with WordPress v3.5 and Contact Form 7 v3.3.3 fixed the issue.

    As pma4life stated above:

    Instead of:
    [date date-745 date-format:dd/mm/yy watermark "Whatever your placeholder text is"]
    Use:
    [date date-745 date-format:dd/mm/yy placeholder="Whatever your placeholder text is"]

  16. arturocivit
    Member
    Posted 1 year ago #

    I'm here just to confirm that pma4lifes' solution with WordPress v3.5 and Contact Form 7 v3.3.3 fixed the issue.

    Actually I have those versions and still not working....any idea?

  17. GTAWebStudio
    Member
    Posted 1 year ago #

    I'm here just to confirm that pma4lifes' solution fixed the same issue i had in OP. THANKS.

  18. arturocivit
    Member
    Posted 1 year ago #

    Thanks so much but my problem is not that, actually here's my form with the date field:

    Your Name:<br />
    [text* YourName]<br />
    Your Email: <br />
    [text* YourEmail]<br />
    Your Phone Number: <br />
    [text* YourPhone]<br />
    Property Address or MLS:<br />
    [text PropertyAddressorMLS]<br />
    Preferred Time for Showing:<br />
    [select* PreferredTimeforShowing include_blank "Morning" "Afternoon" "Evening"] [date date-222 20/ date-format:mm/dd/yy year-range:2012-2020 first-day:1 "Date"]<br />
    Your Message: <br />
    [textarea* Message]<br />
    [submit]

    But is not being displayed in the contact page - the date field is not appearing -

  19. pma4life
    Member
    Posted 1 year ago #

    Looks like the author has updated the version to 2.2.1, which resolves the watermark/placeholder issue.

    @arturocivit - update to the newest version of the plug-in, and make sure you have the word watermark before the placeholder, "Date"

    So instead of:
    [date date-222 20/ date-format:mm/dd/yy year-range:2012-2020 first-day:1 "Date"]

    use:
    [date date-222 20/ date-format:mm/dd/yy year-range:2012-2020 first-day:1 watermark "Date"]

    Hope that helps.

  20. morarz
    Member
    Posted 1 year ago #

    New version doen't resolve my problem :(
    How Can I contact to author of this plugin ??

  21. arturocivit
    Member
    Posted 1 year ago #

    @arturocivit - update to the newest version of the plug-in, and make sure you have the word watermark before the placeholder, "Date"

    Hi PMA4LIFE good morning, well I didi all you suggested and nothing happens, still is not working, any other idea, turnaround?

    Thanks so much!

    Arturo

  22. Jacob Schipper
    Member
    Posted 1 year ago #

    I have the same problem: Datepicker does not work. I am using WP version 3.5.1 in Dutch language (NL); CF7 version 3.3.3; CF7 Datepicker version 2.2.1
    CF7 Plugin and Datepicker plugin activated; shortcode [contact-form-7 id="11" title="Contact form 1"] pasted into page (Reservations).
    Clicking this page the basic contact form shows up; however not the date calender, which did show up in the Contact/Contact Form 1/ of the dashboard.
    I can select different Datepicker Themes (selected Theme Sunny). Both the CF7 and the Datepicker Theme are saved.
    In order to check above recommendation about the watermark (which apparently should be corrected already in version 2.2.1 by the author):
    in what file can I find the line
    [date date-222 20/ date-format:mm/dd/yy year-range:2012-2020 first-day:1 watermark "Date"]
    I have checked all files of the Datepicker download but cannot find this line
    Any idea why the Datepicker is not working?

  23. arturocivit
    Member
    Posted 1 year ago #

    in what file can I find the line
    [date date-222 20/ date-format:mm/dd/yy year-range:2012-2020 first-day:1 watermark "Date"]

    When you are creating or editing the form, you have 2 columns, the one at your left is where you edit the properties of each item on your form, the one at you left the fields and elements in your form, there you can find what you are looking form, see my example below:

    .... Preferred Time for Showing:<br />
    [select* PreferredTimeforShowing include_blank "Morning" "Afternoon" "Evening"]
    [date date-222 20/ date-format:mm/dd/yy year-range:2012-2020 first-day:1 "Date"] ....

    However as you mentioned, this thing is not working and seems like there's no solution for this, not sure what to do.....

  24. ceess
    Member
    Posted 1 year ago #

    There is something annoying, first of all why should be this plugin on top off cform7 form?
    If you do so and save the form (in a multi website environment), the form will be empty.
    Solutions is simple, make a admin menu item with properties off date-picker, the problem and the annoying place on the form are solved.

  25. robscott
    Member
    Posted 1 year ago #

    Experienced this issue on a new contact form - brand new plugin - with the date failing to validate.

    The solution which worked for me was changing the "/" in the date to a "-" ie.

    dd-mm-yy
    or
    dd-mm-y

    Works.

    dd/mm/yy
    or
    dd/mm/y
    Doesn't work.

    Hope this helps someone get their problem fixed! This solution is mentioned further up this post, but a lot of other posters have pasted code containing the "/" symbol - this doesn't validate at all, under any circumstances!

  26. robscott
    Member
    Posted 1 year ago #

    So to clarify, for the above poster, @arturocivit:

    Your Code:

    .... Preferred Time for Showing:<br />
    [select* PreferredTimeforShowing include_blank "Morning" "Afternoon" "Evening"]
    [date date-222 20/ date-format:mm/dd/yy year-range:2012-2020 first-day:1 "Date"] ....

    Should be:

    .... Preferred Time for Showing:<br />
    [select* PreferredTimeforShowing include_blank "Morning" "Afternoon" "Evening"]
    [date date-222 20/ date-format:mm-dd-yy year-range:2012-2020 first-day:1 "Date"] ....

    And THAT will work (assuming it isn't something else which is breaking things...).

  27. hidroquino
    Member
    Posted 10 months ago #

    I solved by upgrading the contact form 7, I upgrade from the the 3.1.2 version of CF7 to 3.5.2

    I´m using:
    Wordpress (3.5.2)
    Contact Form 7 (3.5.2)
    Contact Form 7 Datepicker (2.4.1)

    I hope this work for all you.

  28. morarz
    Member
    Posted 10 months ago #

    Yes this new upgrades work for me too :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.