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 }; }
//]]></script>
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.