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.

jQuery chosen issue

  1. dimensionmedia

    I have fairly complex form, and it's tied into my user registration thanks to the User Registration plugin. Things were going peachy until i got this javascript error on any page of the multi-page form:

    Error: jQuery("").chosen is not a function
    Source File: http://xxxx

    Here's the code in question.

    <script type='text/javascript'>//<![CDATA[
    if(window['jQuery']){ jQuery(document).ready(function(){gf_apply_rules(1, [42,15], true);jQuery('#gform_wrapper_1').show(0, function(){jQuery('').chosen();if(window['gformCalculateTotalPrice']){window['gformCalculateTotalPrice'](1);} });});if(!window['gf_form_conditional_logic'])window['gf_form_conditional_logic'] = new Array();window['gf_form_conditional_logic'][1] = {'logic' : {42: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"35","operator":"is","value":"designer"}]},"nextButton":null,"section":""},15: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"16","operator":"is","value":"I Want to Finish My Profile"}]},"nextButton":null,"section":{"actionType":"show","logicType":"all","rules":[{"fieldId":"16","operator":"is","value":"I Want to Finish My Profile"}]}} }, 'dependents' : {42: [42],15: [15,17,18,20,19,21,22] }, 'animation' : 0 }; }

    I understand the error but since this is generated by GF i'm wondering why this is happening and what I need to do to resolve it. Note that i haven't done anything outside of what's possible via the standard build-form.

    Also note - i'm using the Gravity Forms 1.6 Beta 2 w/ WordPress 3.2.1. I also have BuddyPress 1.2.9 (and the User Registration plugin) installed, but I don't think that comes into play here. I realize i'm running a beta, BTW so no yelling.

    The javascript error is preventing any dynamic elements from working w/ the form and the page although i'm able to successfully fill out the form. So not a complete show stopper at the moment.

    Thanks in advance.

    Posted 8 years ago on Friday September 2, 2011 | Permalink
  2. Can you post a link to a form where this is happening so we can take a look?

    Posted 8 years ago on Tuesday September 6, 2011 | Permalink
  3. dimensionmedia

    Not at the moment, because the form is on a page currently visible to the public. I'll try to isolate it and when i do i'll update here w/ the link. Thanks.

    Posted 8 years ago on Tuesday September 6, 2011 | Permalink
  4. Let me know as soon as you get that link up and I will take a look. :)

    Posted 8 years ago on Wednesday September 7, 2011 | Permalink
  5. This cropped up in a few other bug reports. The issue was a conflict when conditional logic is being used on the form. This bug has been resolved in version 1.6.beta2.4. If you need a copy, email me at

    Posted 8 years ago on Friday September 9, 2011 | Permalink

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