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.

Continued: How to fix the Conditional Logic Jquery issue (Last Upgrade)

  1. Followed the instructions in previous posts, which are basically:

    1 - Don't use jQuery.min.js
    2 - Make sure jQuery is in the header, not footer
    3 - Make sure no other JS errors.

    I was able to determine that 1 and 3 aren't that important. In fact, it works fine with jquery.min - however using WP Minify or other minify scripts, prevents Gravity Forms with conditional logic from loading.

    Unfortunately, without minifying some of our scripts, the JS overhead is just too much. Any other suggestions / workarounds?

    Posted 11 years ago on Thursday October 4, 2012 | Permalink
  2. David Peralty

    What are you using to minify things? Can you exclude JQuery and Gravity Forms' scripts?

    Posted 11 years ago on Thursday October 4, 2012 | Permalink
  3. Please post a link to your form so we can take a look for JavaScript and jQuery conflicts. You can also begin troubleshooting by following these instructions http://rkt.gs/testing

    Posted 11 years ago on Saturday October 6, 2012 | Permalink
  4. Hi
    total nubee here. my form stopped displaying after I updated to the latest WP and Gravity forms. In fire fox I can see the is something called 'conditional logic defaults is unidentified'
    this line of code

    gf_do_action(action, targetId, conditional_logic["animation"], conditional_logic["defaults"][dependent_fields[i]], isInit, do_callback);
    }

    Here: .......js/conditional_logic.js
    on line 188.
    here is the site page I need to display again.
    http://diablodaycamp.org/?page_id=439

    my email sergio at berimbau.com

    please help
    sergio

    Posted 11 years ago on Sunday October 7, 2012 | Permalink
  5. @sergio, you have several problems going on here which will need to be rectified before we can get any further. You are running an extremely old version of WordPress: 3.1. That was released over 18 months ago and has been updated 12 times since then. Significantly, WordPress 3.3 came with a new version of jQuery. Gravity Forms requires the latest jQuery to function properly. In fact, Gravity Forms requires WordPress 3.3 or later to function correctly. You will need to update your WordPress installation to ensure you have the proper jQuery for your form with conditional logic to function properly.

    Because you are so out of date with your WordPress release, please make a backup of your database and your code. Check all plugins for available updates to enable them to work with the latest WordPress. If you have the ability, please update a test installation in a development environment first, rather than take chances with your live site.

    You will need to update WordPress and all plugins and then come back to this and see if you have any theme or plugin conflicts which further cause your form not to work.

    Backup everything now before you make any changes to your website.

    (one other problem I noted which should be fixed, but is not causing your problem, is invalid HTML in the form. You have invalid tags such as </br> and <p/> - neither of those is correct.)

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  6. Chris
    I don't understand. On my dashboard it says I'm current and I have 3.4.2 installed. I reinstalled just before I posted here and before. Is it something on the server?
    thanks
    Sergio

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  7. I don't believe your upgrade was successful:
    http://diablodaycamp.org/readme.html

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  8. I got it. it seems I have 2 installations of WP one on the front root and another inside a WP folder I created prior to the new site design. Now both areas are updated to 3.4.2 but nothing happens still. Do you think there is a conflict between these 2 installations?
    Now what?
    and thanks for the help. I'm pretty lost when it comes to programming.

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  9. OK, we have a different error now:

    Timestamp: 10/8/2012 1:54:07 PM
    Error: SyntaxError: syntax error
    Source File: http://diablodaycamp.org/?page_id=439
    Line: 195, Column: 3431

    That points to an issue with the max character setting for the textarea. Can you remove that restriction on the textarea and try loading the form again? This is just a troubleshooting step, not a permanent change.

    Also, be sure the number of characters you entered for the maximum is an integer, no other characters, letters or punctuation.

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  10. Bingo! that did it. no character restrictions on the forms anymore. they seem to work fine now.
    BTW are you able to customized the form for Diablo day camp? they want a couple of things I believe the plug in does not have unless customized like:
    discount calculated at the totals for volunteers
    a confirmation number at the end of each submission (I think I did that but not sure) A number appears at the last page.
    They also would like output to Axcess.
    Let me know how much you would charge so I can forward to them.
    thanks very much for great support.

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  11. What did you have entered for the max number of characters before? Can you paste the value here? Was it anything other than digits?

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  12. just numbers like 30, 60, 15, 8 on the address. because DDC had asked for more space to place names etc. No extra characters.
    does gravity form has a place for unique numbers to be displayed per record?
    thanks

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  13. Hello Chris,
    I happen to have encounter the same issue as Sergio when I debugged the JS. I removed the char limit on the paragraph field (the value was 1000) and now the form is showing.

    I would like to be notified when this issue is resolved. Thanks for the support!

    Posted 11 years ago on Wednesday October 10, 2012 | Permalink
  14. @ELSBloomington, can you post a link to your form please?

    Removing the character limit restriction just avoids a JavaScript conflict. It didn't fix the problem. We'd have to see your form on your site to know what the error is.

    Posted 11 years ago on Wednesday October 10, 2012 | Permalink