PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Date Picker not activating

  1. kcwalsh
    Member

    Date Picker for the date field isn't showing up. It stopped working after I updated the Gravity Forms plugin to the most recent version. The preview is working, the live form isn't.

    Apparently, the img tag below isn't being generated on the live form:

    <img class="ui-datepicker-trigger" src="http://forms.willowcreek.org/wp-content/plugins/gravityforms/images/calendar.png" alt="..." title="...">

    Here's a link to the page:

    http://forms.willowcreek.org/update-your-address/

    I've disabled all plugins and it still doesn't work. Any help would be much appreciated.

    Posted 11 years ago on Wednesday February 20, 2013 | Permalink
  2. If it works in the form builder preview then there is a conflict of some kind on the front end - have you tested for the theme yet?

    I do see in the source code of your site that you are loading a very old version of jQuery, I also don't see any of our scripts being output in the source. Does your theme utilize wp_head() and wp_footer()?

    Posted 11 years ago on Wednesday February 20, 2013 | Permalink
  3. Hi there, I had the same issue, think it's because jQuery has stopped supporting the $.browser()api method, so if your theme is calling the latset version this could be the problem. I fixed this by enqueing a nifty script called jQuery migrate which enables deprecated methods. This is the script I put in my functions.php file (you can load it elsewhere depending on your theme:

    <?php
    if (!is_admin()) {
    wp_register_script('jquery-migrate', ("http://code.jquery.com/jquery-migrate-1.1.0.min.js"), false, 'latest', false);
    wp_enqueue_script('jquery-migrate');
    }
    ?>
    Posted 11 years ago on Thursday February 21, 2013 | Permalink
  4. I imagine you're going to get quite a few of these kinds of issues Rob :)

    Posted 11 years ago on Thursday February 21, 2013 | Permalink
  5. Thank you @Mulegoat for the solution! I had the same problem with jQuery v1.9.1 Seems to be working now with the migrate script. Although, the styles don't seem to come through (but that's different problem).

    Dasha

    Posted 11 years ago on Friday March 8, 2013 | Permalink

This topic has been resolved and has been closed to new replies.