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.

Conditional Prevents Form Display

  1. I'm upgraded to WP 3.2.1 and found that one of my forms was not displaying at all.

    I worked on it for a couple of hours and found that if the conditional box on one of the entries was unchecked the form displayed. If I selected the entry as conditional based upon previously selected entries the entire form disappeared. It did not matter how the logic of that entry was configured, I tried reversing the logic and it had no effect.

    The form was displaying properly prior to 3.2.1 and other forms not using the conditional function display properly.

    I'm not sure if the problem is in the 3.2.1 update or the 3.2 update of Wordpress.

    Anybody else having the problem?

    Posted 13 years ago on Wednesday July 13, 2011 | Permalink
  2. Can you post a link to a page that contains a form where this is happening?

    Typically if a form using conditional logic doesn't display on your site it is due to a Javascript error. Either there is an error in your theme or the necessary Gravity Forms javascript is not being enqueued.

    It's difficult to tell without seeing the issue happening, so if you can post a link we can usually tell pretty quickly what the issue is.

    Posted 13 years ago on Wednesday July 13, 2011 | Permalink
  3. I'm using Wordpress 3.2.1 and Thesis Theme 1.8.1

    I can't show you the page because the form in question is a membership sign-up form and the organization can't afford to have the form inoperative when the annual dues renewal month is July.

    I reconfigured the form to not require the conditional element and it is operating correctly.

    The interesting part is that the form worked fine until these last WP updates, then it disappeared. Unfortunately I can't say for certain if the form worked after the 3.2 upgrade since I didn't realize I had a blank form page until after I did the 3.2.1 upgrade.

    Have any other users noticed anything after one of these upgrades or is the use of the conditional function fairly rare?

    Posted 13 years ago on Thursday July 14, 2011 | Permalink
  4. Did you try a different browser than the one you normally use or clearing the cache in your existing browser? The conditional logic relies on JavaScript, and the JavaScript that is included with WordPress, jQuery, was updated in 3.2. Maybe your browser is caching the JavaScript?

    http://wpdevel.wordpress.com/2011/05/25/jquery-updates-in-wordpress-3-2/

    It's also possible that another plugin that relies on JavaScript broke when WordPress updated the jQuery version. In that case, you'd have to test for theme and plugin conflicts as detailed here.

    Posted 13 years ago on Thursday July 14, 2011 | Permalink
  5. I've recently experienced the same issue -- form with conditional item not displaying on the page. It also would not display in Preview.

    Ironically, the issue isn't site wide. Some forms with conditional items do display on the page. The forms that don't display on the page are using a custom page. But all forms with conditional items won't display in Preview.

    I'm using WP 3.3.1 with a custom theme. Switching the theme to TwentyEleven didn't resolve the problem. My first guess would was that it was a plugin issue but when I disabled the condition, the forms displayed again.

    Thoughts?

    Posted 12 years ago on Wednesday January 11, 2012 | Permalink