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 error when editing field values

  1. I get a jquery error when trying to edit any multiple choice or checkboxy fields and the "edit panel" will not slide open. other field types are fine.

    UNCAUGHT REFERENCERROR: CURRENCY IS NOT DEFINED - admin.php line 1827

    not even using any "currency" form fields. just plain fields.

    using WP 3.2.1 and GF 1.5.2.8 with no other plugins installed or active. same issue using the twentyten theme too.

    simply cannot edit any multiple choice fields or checkbox fields. same in all browsers, local and dev servers, etc.

    Any way to fix this? I need to be able to edit those fields.

    Thanks.

    Posted 13 years ago on Tuesday September 6, 2011 | Permalink
  2. Also tried downgrading to GF 1.5. It then lets me edit those fields, but only on the initial build.

    After I save and then try to edit later, NONE of the fields are editable anymore.

    It then gives a Uncaught TypeError: Cannot call method 'toLowerCase' of null

    Posted 13 years ago on Tuesday September 6, 2011 | Permalink
  3. Did you recently upgrade to Gravity Forms v1.5+ from an older version? Or is this a new install?

    Posted 13 years ago on Wednesday September 7, 2011 | Permalink
  4. Stylmark
    Member

    I'm also getting this error on 3.2 after a new install except it affects all form field types. As soon as the form is saved the error begins to occur and existing fields are unable to be edited. Here is what the code inspector returned:

    Uncaught TypeError: Cannot call method 'toLowerCase' of null
    f.extend.attrjquery.js:16
    e.extend.accessjquery.js:16
    f.fn.extend.attrjquery.js:16
    InitializeFormadmin.php:2977
    iColorPickeradmin.php:2096
    f.extend._Deferred.e.resolveWithjquery.js:16
    e.extend.readyjquery.js:16
    c.addEventListener.z

    Posted 13 years ago on Friday December 2, 2011 | Permalink
  5. @stylmark It's difficult to tell without being able to look at it first hand. Form Editor related javascript problems are typically caused by these 2 things:

    1) A PHP memory issue related to a lack of available PHP memory which causes problems with the form editor AJAX from being able to execute. The solution to this is to increase your available PHP memory. I recommend a minimum of 64 MB but preferably 128 MB or 256 MB. Here is information on how to do so:

    http://www.nerdgrind.com/increase-wordpress-and-php-memory-limit/

    2) A plugin or theme conflict caused by another plugin or your theme outputting code on the Gravity Forms Form Editor page that should not be there. To see if this is the issue you would have to test for plugin and theme conflicts by following these instructions:

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    I recommend testing in that order. A PHP memory issue can masquerade as a plugin or theme conflict because when you deactivate plugins and themes it frees up PHP memory. Then when you activate them again, it uses that memory again. So it's best to first look at the memory and increase it before testing for conflicts.

    Posted 13 years ago on Friday December 2, 2011 | Permalink