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.

gantry and gravity forms: Error: Syntax error, unrecognized expression: .ginput_

  1. HI,

    I am getting the following error with my ajax enabled form:
    Error: Syntax error, unrecognized expression: .ginput_total_$family

    The form works but it seems that chosen.js is not loading on a next step.

    Any clues?

    Thanx!

    Posted 10 years ago on Tuesday May 21, 2013 | Permalink
  2. Richard Vav
    Administrator

    Can you post a link to a page containing the form in question and somebody will take a look.

    Regards,
    Richard

    Posted 10 years ago on Wednesday May 22, 2013 | Permalink
  3. Here You go:

    http://libertyamericafinancial.com/

    Thanks.

    Posted 10 years ago on Wednesday May 22, 2013 | Permalink
  4. Richard Vav
    Administrator

    A plugin or theme conflict is causing that javascript error which in turn is preventing the enhanced ui being applied to your page two dropdowns, you are going to have to work through the plugin/theme conflict troubleshooting steps to narrow down the cause.

    Posted 10 years ago on Wednesday May 22, 2013 | Permalink
  5. Hello again,

    Is there any way to prevent gravity form to load jquery (thus preventing WP to load jquery at the head of the HTML doc.), since I am getting numerous js errors cause jquery is not loaded before other js scripts that are jquery dependent?

    Thanks!

    Posted 10 years ago on Thursday May 30, 2013 | Permalink
  6. Richard Vav
    Administrator

    Gravity Forms loads jQuery using the recommended WordPress method of enqueueing the script to the head from the WordPress includes directory, when themes and plugins use this method it ensures that files are only included once on the page and in the correct order preventing the chance of javascript errors due to a file being included multiple times or because a script that depends on jQuery was included earlier, unfortunately not all plugins and themes use the recommended method and instead opt to hard code the links to scripts so WordPress doesn't know about them which means conflicts can occur.

    You should work through the plugin/theme conflict testing steps to figure out which theme or plugin is not inlcuding scripts in the correct way and causing your javascript errors.

    Regards,
    Richard

    Posted 10 years ago on Friday May 31, 2013 | Permalink