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.

Form does not display when Conditional Logic enabled

  1. avenue
    Member

    Form does not display when Conditional Logic (in any way) is enabled. HTML is there (view source) but div is set to display:none.

    Form displays properly without conditional logic.

    Deactivating all other plugins does not solve so it must be something in the template. Cannot post link because it is not a public site. Template is proprietary and based on WP Classic theme I believe.

    Thank you! I am trying to build a demo of Gravity Forms for a client. If it's successful it might become very interesting to GF.

    Version 1.3.13.beta3

    Posted 14 years ago on Monday July 19, 2010 | Permalink
  2. Sounds like the javascript is not being enqueued. If you are inserting the form with the shortcode, the CSS and scripts will be loaded automatically. Quoting Kevin Flahaut:

    http://forum.gravityhelp.com/topic/theme-css-changes-form-styling#post-5431

    You'll need to make sure the header file includes the wp_head() function and the footer includes the wp_footer() - both are necessary for Gravity Forms to display and work properly.

    I would make sure both wp_head() and wp_footer() are being called by your theme.

    If you're not inserting the form with the shortcode (maybe you're using it in a widget or including it in a template with a function call) then you will need to enqueue the scripts and CSS yourself.

    http://forum.gravityhelp.com/topic/conditional-form-only-appears-using-shortcode-not-using-function-call#post-6875

    Posted 14 years ago on Monday July 19, 2010 | Permalink
  3. avenue
    Member

    Adding wp_head() and wp_footer() worked. Thanks a million!

    Posted 14 years ago on Monday July 19, 2010 | Permalink
  4. Glad I could help.

    Posted 14 years ago on Monday July 19, 2010 | Permalink

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