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 at random

  1. Hi,

    On this page there's a GF loaded: http://www.eurofiber.com/events/kennissessie-big-data/

    The problem is that at random page-loads the form is or is not displayed. It seems the style="display:none" in some cases is not removed by the script.

    We've tried the steps that are provided in other threads: testing on plugin-conflicts and reverting the theme to a default, but none of these solutions are working.

    Posted 11 years ago on Thursday April 4, 2013 | Permalink
  2. David Peralty

    The display:none is for conditional logic. If you have conditional logic in your form, then we use that CSS call to hide the form, and the JQuery to show the elements that should be shown, and handle the transition animations. If your form doesn't show up, it is due to a JavaScript error, and these errors occur from other plugins or theme incompatibilities.

    Your form is currently working, but I do see messages output by JQuery Cycle.

    Hopefully, you can find a common thread about why it fails for you, and what the source is. Or, when it is consistently failing, let us know so we can see and troubleshoot with you.

    Posted 11 years ago on Thursday April 4, 2013 | Permalink
  3. Charlie
    Member

    Hi,
    i am not familiar with php at all. And in general just started to code and understand html, css.
    Sorry for the question but could you please tell where can i find style="display:none" string? What file?
    I have the same problem, if i use conditional logic form is not displaying.
    I added <? php wp_footer(); ?> string to my theme footer.php file but nothing had changed.
    Is it possible to make any changes manually to display particular form? Manully change this style="display:none" string??

    Thanks!

    Posted 11 years ago on Saturday April 13, 2013 | Permalink
  4. Richard Vav
    Administrator

    Charly can you post a link to a page containing the form in question so I can see if there are any JavaScript errors, or problems with jQuery.

    It is not advisable to edit the gravity forms files as any changes you make will be overwritten during an update, so the best thing to do is diagnose the JavaScript error, plugin or theme conflict that is preventing the from from being displayed. http://rkt.gs/testing

    Regards,
    Richard
    --
    Just another member of the community helping out where I can

    Posted 11 years ago on Sunday April 14, 2013 | Permalink
  5. Charlie
    Member

    Thank you richardvav a lot for tryingto help me!
    I was desperate yesterday. After several days trying to figure out what was wrong. It all happened after mowing WP to new host and upgrading GravityForms. I actually made form from scratch for second time.
    Here is link http://www.chamberexpertise.lv/sidebar-page-new/pieteikt-ekspertizi/
    Form should appear below words "pieteikt ekspertizi". But it is not...

    Posted 11 years ago on Sunday April 14, 2013 | Permalink
  6. Richard Vav
    Administrator

    Hi Charlie,

    I have taken a look and I believe your problem is being caused by two versions of jQuery being included in your page.

    The first and correct version (1.8.3) is being loaded from your wordpress includes directory in the header. The second (1.7) version is being loaded in the footer and can be found immediately before the code for the jQuery Cycle Plugin and is linking to googleapis, if you remove this call you can then check to see if your form now displays.

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
    Posted 11 years ago on Sunday April 14, 2013 | Permalink
  7. Charlie
    Member

    Thank you richardvav! I will try to check what you suggested.

    Posted 11 years ago on Saturday April 20, 2013 | Permalink

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