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.

display:none on forms with conditional logic?

  1. ukcpiweb
    Member

    So my forms with conditional logic are not showing and are set to display:none.

    I placed <? php wp_footer(); ?> in the footer and it still wasn't working.

    I deactivated plugins and again it is still not working.

    Reading around I believe it has something to do with Javascript error. I have run out of places to look. Anyone had the same issue?

    This started happening when I upgraded gravity forms and WordPress to latest versions but was fine before hand.

    Here is the form: http://dev.uk-cpi.com/feedback/

    Posted 12 years ago on Monday September 17, 2012 | Permalink
  2. David Peralty

    Can you please link to your form so we can take a look?

    Posted 12 years ago on Monday September 17, 2012 | Permalink
  3. ukcpiweb
    Member

    Hi David

    Of course, here is the form: http://dev.uk-cpi.com/feedback/

    If you look at the source you will see that the form exists and that the CSS rule is hiding it.

    Let me know if there is anything else that could help.

    Posted 12 years ago on Monday September 17, 2012 | Permalink
  4. The issue is that you are loading jQuery in the footer. It needs to be in the head for Gravity Forms to display the form. Also, you may run into a version incompatibility issue. Gravity Forms is designed to work with the jQuery version that ships with WordPress. If you load a different version from Google's CDN, you may get unexpected results, or the form might still not show.

    Get the jQuery in the head of the page and see if it works at that point.

    Posted 12 years ago on Tuesday September 18, 2012 | Permalink
  5. ukcpiweb
    Member

    Thanks Chris for your reply.
    This worked once I made the changes.

    Posted 12 years ago on Tuesday September 18, 2012 | Permalink
  6. David Peralty

    Glad to hear it.

    Posted 12 years ago on Tuesday September 18, 2012 | Permalink

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