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.

New gravity version and Roots Theme

  1. semyou
    Member

    Hi,

    I have upgraded recently to the newest release of gravity forms, and since then I am not able to see the form in my form submission page. I am using the Roots Theme. Before the upgrade it worked fine. Now it doesn't. I checked the html code of the page. I saw that for some reason the form_wrapper has a css of display:none. And there is also a jquery.min error that is thrown (seen in my firebug). Did the change alter anything that touches jquery.min?
    For your info, I removed the Roots theme and used Twenty eleven and the problem disappeared. Unfortunately, I need Roots theme. Something happened between the two versions that broke something. Any ideas.

    Thanks,
    Youssef

    Youssef

    Posted 11 years ago on Saturday December 8, 2012 | Permalink
  2. semyou
    Member

    OK. After some analysis, I found that the culprit is if(jQuery(this).is('select:not([multiple]')). It used to be if(jQuery(this).is('select')). The :not is not recognized for some reason and causes the unrecognized expression. I don't know why?

    Posted 11 years ago on Sunday December 9, 2012 | Permalink
  3. semyou
    Member

    OK. After some analysis, I found that the culprit is if(jQuery(this).is('select:not([multiple]')). It used to be if(jQuery(this).is('select')). The :not is not recognized for some reason and causes the unrecognized expression. I don't know why?

    Posted 11 years ago on Sunday December 9, 2012 | Permalink
  4. semyou
    Member

    OK found the bug. There is bracket missing in conditional_logic.js

    select:not([multiple] is missing the closing bracket. That's why JS is throwing the error. I really find it strange that the error is thrown only on Roots and not Twenty Eleven.

    Anyway, I fixed it manually in your javascript file. Hopefully, it will come fixed in the next release.

    Youssef

    Posted 11 years ago on Sunday December 9, 2012 | Permalink
  5. Richard Vav
    Administrator

    This issue has recently been fixed by the developers and will be in the next update

    Posted 11 years ago on Sunday December 9, 2012 | Permalink
  6. howdy
    Member

    It's not in the latest update! This issue also happens with the Genesis framework. Please update in the next release.

    conditional_logic.js

    line 251:

    Change from:
    if(jQuery(this).is('select:not([multiple]'))

    to:
    if(jQuery(this).is('select:not([multiple)]'))

    Posted 11 years ago on Thursday February 7, 2013 | Permalink
  7. Richard Vav
    Administrator

    howdy,

    I have just checked conditional_logic.js in the latest update, version 1.6.12, and I can confirm the fix is present, what version are you running?

    This is the correct line as found in version 1.6.12
    if(jQuery(this).is('select:not([multiple])'))

    Posted 11 years ago on Thursday February 7, 2013 | Permalink
  8. howdy
    Member

    Version 1.6.10 - glad this is updated

    Posted 11 years ago on Thursday February 7, 2013 | Permalink
  9. @howdy, Did you update to 1.6.12 and find the problem no longer exists?

    Posted 11 years ago on Friday February 8, 2013 | Permalink
  10. howdy
    Member

    Yes Chris, this is fixed in the latest version

    Posted 11 years ago on Wednesday March 27, 2013 | Permalink
  11. Thank you for the confirmation.

    Posted 11 years ago on Sunday March 31, 2013 | Permalink

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