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.

Can't find jQuery!

  1. Any idea how I can fix this? I've created a form and added it to a page, only I can't see the form when I visit the page.

    Viewing activity in Safari tells me http://xx.xxxxx.xxx/path/to/your/version/of/jquery.js?ver=2.9.1 is "not found".

    I can't seem to find anywhere I can specify a path to jQuery!

    Any help at all would be fantastically appreciated!

    Posted 14 years ago on Sunday January 17, 2010 | Permalink
  2. OK, I just ran a quick test of the form on a site running Wordpress 2.9 instead of 2.9.1 and it all worked just fine. I'm assuming then that this is a Wordpress 2.9.1 issue - anyone know of any fixes?

    (I'd rather not do a re-install of 2.9)

    Posted 14 years ago on Sunday January 17, 2010 | Permalink
  3. We have numerous users using Gravity Forms on WordPress 2.9.1 so I don't think that is the issue. Gravity Forms relies on WordPress including the jQuery library, it doesn't include the library itself because it is something that is built into WordPress.

    jQuery is only used on forms that make use of conditional logic or the calendar date picker fields. There is nothing to turn on, although your theme does need to have the necessary calls in it to display jQuery (unrelated to Gravity Forms).

    This is most likely a theme issue with the site running WordPress 2.9.1

    I'd be glad to take a look at it and determine the problem.

    The quickest way to do this would be to use the Contact Us form and provide us with a URL to the page where the form isn't displaying AND a WordPress admin login for that site so we can take a look at your theme files.

    Posted 14 years ago on Sunday January 17, 2010 | Permalink
  4. Hi Carl, thanks so much for your assistance! I'm pretty eager to get it work, because it's naturally the best form plugin I've ever seen!

    This form is using dropdowns, a calendar date picker AND some conditional logic. It's a quick mod of an existing portfolio theme for a photographer friend, which itself is using some of its own js for photo slideshows, so perhaps that's causing a conflict?

    I'll set up an admin user for you and send via the contact us form, and I'd be grateful if you could have even a quick look, confirm that might be case, and if you had any solutions I'd love to hear!

    Posted 14 years ago on Sunday January 17, 2010 | Permalink
  5. Okay I do notice a couple issues just from looking at the source. These are theme related issues.

    The first is your theme is calling in an old version of jQuery (v1.2.6) and isn't making use of the version of jQuery that ships with WordPress (v1.3.2) and is a standard part of the platform. Your theme itself shouldn't have to call in it's own version of jQuery, it can make use of built in functions within WordPress to handle this. Gravity Forms requires the version of jQuery that ships with WordPress (v1.3.2) which is why it has a WordPress 2.8+ requirement.

    Anytime jQuery is being called from the themes folder instead of the WordPress js folder it is a red flag and will lead to plugin conflicts that rely on WordPress version of jQuery.

    Your theme is most likely misssng the wp_head function call that should be in the header.php file of your theme. But if you do add it you are going to need to remove the existing jquery.js script call that your head is already including.

    The second is the Gravity Forms javascript is not being output in the footer of your theme. This is because your themes footer.php file does not call the wp_footer function call that plugins rely on to output Javascript in the footer. This is a very important function call that should be in the footer of every theme.

    You can read more about both the wp_head and wp_footer function calls on this page in the WordPress codex:

    http://codex.wordpress.org/Theme_Development

    Posted 14 years ago on Sunday January 17, 2010 | Permalink
  6. Alex Smith
    Member

    Hi Carl,

    Thanks for this post! I was having the same issue of using conditional logic and my form was not showing up on the front end page as well.

    I was calling the wp_footer code in my footer file. However, when I finally opened the template file the page was using I noticed that I wasn't actually calling my footer file!!

    The footer code was still static from converting it into a WP Theme and I forgot to replace it with the "get_footer" code.

    Anyway... a little embarrassing to admit but maybe this reply will help out someone else having the same issue.

    BTW - the conditional logic feature ROCKS!!

    Posted 14 years ago on Monday January 18, 2010 | Permalink