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 not showing on site - display:none inline style

  1. ascedia
    Member

    The form is not displaying on my site. The inline style on the form is set to display:none.

    Here are some details:
    I don't have conditional logic enabled.
    I have the wp_enqueue function in my template, and the wp_footer hook in the footer.
    I have disabled the theme and enabled 2010; the form shows up fine, so it doesn't appear to be a plugin conflict.
    The form shows fine in the preview, and works when I disable display:none in my browser (it submits the form and gives the confirmation like usual).

    Is there something else I am missing? This is a custom theme built off the 2011 theme.

    Thank you!

    Posted 12 years ago on Monday October 29, 2012 | Permalink
  2. David Peralty

    Can you link to it so we can see what is happening? Usually it is some kind of JavaScript conflict that makes a form not show up when display:none is written.

    Posted 12 years ago on Monday October 29, 2012 | Permalink
  3. ascedia
    Member

    sure. Can I send it to you privately, as the site is in beta.

    Posted 12 years ago on Monday October 29, 2012 | Permalink
  4. David Peralty

    My e-mail is peralty@rocketgenius.com

    Posted 12 years ago on Monday October 29, 2012 | Permalink
  5. info522
    Member

    I'm having the same issue. Has this been resolved?

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink
  6. info522
    Member

    Just a quick note, if I add the following code, the form appears fine:

    #gform_wrapper_1 {
    display: inline !important;
    }

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink
  7. David Peralty

    For the previous person it was a JavaScript issue. If you link to your site/form, then I can take a look at it as well.

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink
  8. info522
    Member

    However, ajax is not working when I implement the code.

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink
  9. info522
    Member

    Ah. I have this on my local machine (dev) - what's the best way to troubleshoot?

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink
  10. David Peralty

    Here's what I do:
    - Open Google Chrome, right click on the page and go to Inspect element.
    - Click over to the Console tab to look for JavaScript issues
    - View Source and check for JQuery. It should be in the header, there should only be one, and it should be version 1.7.2 or above.

    Hope that helps.

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink
  11. info522
    Member

    Ah. Got it, thanks. I had a js error from a script I wasn't using. Thanks!

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink
  12. David Peralty

    No problem.

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink

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