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.

One Form Not Showing - Jquery Related?

  1. jaja935
    Member

    I just updated Gravity Forms and four of the forms on a client's site work fine, however one does not. Looking at the Console in Chrome, I see errors related to jquery.maskedinput-1.3.min.js

    Any ideas on what could be wrong with just this one form? http://www.spuncast.com/online-job-application/

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  2. I see three JavaScript errors on this page:

    Timestamp: 1/23/13 4:56:56 PM
    Error: TypeError: jQuery.browser is undefined
    Source File: http://www.spuncast.com/wp-content/themes/rttheme15/js/script.js?ver=3.4.2
    Line: 212
    
    Timestamp: 1/23/13 4:57:00 PM
    Error: TypeError: a.browser is undefined
    Source File: http://www.spuncast.com/wp-content/plugins/gravityforms/js/jquery.maskedinput-1.3.min.js?ver=1.6.11
    Line: 7
    
    Timestamp: 1/23/13 4:57:00 PM
    Error: TypeError: jQuery(...).mask is not a function
    Source File: http://www.spuncast.com/online-job-application/
    Line: 284

    Looking at the source of the page, I see a few problems:

    • You're loading jQuery 1.9.0 from googleapis. You should be using jQuery 1.8.3 with WordPress 3.5
    • You're using WordPress 3.4.2
    • You're loading 4 scripts after the closing < html > tag in the page. That's not valid.
    • You're using WP Super Cache. Please test without this to see if it makes any difference

    I think the main problem is that you are using an older WordPress with a future jQuery. If possible and your themes and plugins are compatible, I would update WordPress to 3.5, then let WordPress do its job of including jQuery 1.8.3, not 1.9.0.

    If instead you'd like to check for theme and plugin conflicts, please use our troubleshooting instructions here http://rkt.gs/testing

    Also, does the form work in the form preview?

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  3. jaja935
    Member

    I have a feeling it's related to the theme so I will go ahead and test that.

    The form does not appear in preview.

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  4. I think the Theme is probably what is including jQuery 1.9.0. You might be able to fix that by finding out how they did that, and just remove that function and letting WordPress enqueue the proper version.

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  5. jaja935
    Member

    Yep, that was the issue! Thanks for the help!

    Posted 11 years ago on Thursday January 24, 2013 | Permalink
  6. Thank you for the update.

    Posted 11 years ago on Thursday January 24, 2013 | Permalink

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