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.

Style attribute of: 'disply:none' being added - nothing showing up

  1. Gravity is randomly adding a style attribute of 'display:none' - which was easy to find via FF's firebug - which makes none of the gravity form appear… I can manually cancel the attribute and the form appears perfect, but after searching through all the css files i am unable to locate this attribute. thinking that its highly likely inherited, i disabled all other plugins -> checked and no dice… can't think of anything else, hence my presence here… here's the site I'm using it on - http://ldv.webtvitaly.com - thanks in advance!

    Cam Cecchini
    http://www.webtvitaly.com

    Posted 14 years ago on Saturday January 9, 2010 | Permalink
  2. This is because you have conditional logic being used on your form. Anytime conditional logic is present the entire form is set to display: none; and then javascript is used to only show the fields that should be shown.

    HOWEVER this requires Gravity Forms being able to output the necessary Javascript using the WordPress built in enqueue function... which outputs the Javascript in your footer.

    Your theme probably does not have this function call in your theme's footer.php file:

    <?php wp_footer(); ?>

    This function call, which all themes should have (but many people forget to include), enables plugins to output code in the footer of a theme dynamically. If it isn't present, the theme can't output the necessary code.

    This is most likely why your form is not displaying properly.

    Posted 14 years ago on Saturday January 9, 2010 | Permalink
  3. is the code you referenced above the same or similar to:

    <?php do_action('wp_footer'); ?>

    which is currently currently present in the footer.php?

    Do you I need to replace my code sniplet with yours?

    thanks for the quick response!

    Posted 14 years ago on Saturday January 9, 2010 | Permalink
  4. Well I swapped my previous footer call for yours and still not working, also the calendar icon and date picker aren't showing either (probably the same issues). Any other ideas?

    Posted 14 years ago on Saturday January 9, 2010 | Permalink
  5. The necessary javascript for both conditional logic and calendar icon are output in the footer using the wp_footer function. If neither of them are working it is because your WordPress setup is not outputting the javascript in the footer.

    Contact us via the Contact Us form and send me a WordPress admin login for this site and I can look into it.

    Posted 14 years ago on Sunday January 10, 2010 | Permalink
  6. I'm having this same problem here - http://sporkmarketing.com/dev/justfruitny/order/

    - I've deactivated all the other plugins on the install (nothing is active except Gravity).

    - I've verified that the wp_footer and wp_head calls are in place.

    - I've removed any other javascript calls just to be sure there isn't some sort of conflict.

    Still doesn't work...the call to "conditional_logic.php" in the footer seems to be referencing the form # followed by a strangle HTML character &

    ...can't figure out why.

    Help will be greatly appreciated. Thanks.

    Jason

    Posted 14 years ago on Wednesday January 27, 2010 | Permalink
  7. Jalancast: Can you contact me via the Contact Us form and include a WordPress admin login to this site? I know the issue and will need to work with GoDaddy to figure it out. Yes I guessed your host based on the problem, it's a GoDaddy specific server problem. Get with me via the Contact Us form and I can explain more.

    Posted 14 years ago on Wednesday January 27, 2010 | Permalink

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