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.

forms not showing on site using shortcode

  1. Several of my forms are not showing on the public site. Even using the 'preview form' shows a blank.

    Here is where the form should be showing:
    http://rocktheworldmedia.com/contact/

    At first it was only my imported forms that were not showing (this problem recurred on a few of my sites under multisite). If I recreated the form from scratch and updated the shortcode with the new form ID the new form showed...that was my work-around...until today.

    Now today even new forms are not showing. I created a new form (ID 5), added 2 fields and saved just to test a new form would work, then updated the shortcode form ID with this new form...it showed fine.

    But after I added a few more fields to complete the form, saved, refreshed, the form disappeared form the public site.

    Here is the form that only worked until I added more field:
    http://rocktheworldmedia.com/wp-admin/admin.php?page=gf_edit_forms&id=5

    I'd be happy to add you as admin so you can see what is happening and test, just let me know how to send the login privately.

    GF v1.5.rc2.2 (maybe I need to try the latest beta?)

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  2. Huge development in understanding what is going on...

    The problem is related to Conditional Logic. If I remove Conditional Logic from the only field containing Conditional Logic, the form works perfectly (except for the Conditional Logic is no longer present).

    I have Conditional Logic on a paragraph field set to only show if the "show comments" field is checked.

    If I remove the Conditional Logic the whole form shows properly.

    If I enable the Conditional Logic checkbox on the paragraph field the whole form disappears!

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  3. Hi Milehigh,

    Are you able to recreate this issue on other forms? If so, please do send an admin login to david@rocketgenius.com.

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  4. sent login

    yes, I've been having this issue across different sites with different forms

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  5. sent login

    yes, I've been having this issue across different sites with different forms

    FYI:

    twice today I've gotten database error when submitting to the forum

    http://forum.gravityhelp.com/topic/forms-not-showing-on-site-using-shortcode?replies=4#post-16153

    ERROR: Could not establish a database connection

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  6. I took a look and it appears the issue is with the Google Analyticator plugin. After deactivating this plugin, it appears this issue was resolved. The cause of the issue is with a js file being loaded by the GA plugin: http://grab.by/8mIA

    I've reactivated the plugin for now, but I would suggest using an alternate GA plugin.

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  7. Thanks!

    I think Google Analyticator is highly used so may be good to post this conflict to the 'known conflicts'.

    Posted 13 years ago on Saturday January 15, 2011 | Permalink
  8. Hello, I'm facing the same problem with my website, the gravity forms are not showing up and I'm also working with conditional logic and I've just tested removing the logic from one field and it worked, it shows the form. The problem is that I need the logic. Could you please help me to fix this issue?
    I've just sent the admin access to the email mentioned.
    Thanks
    Daniel Beck

    Posted 13 years ago on Sunday January 30, 2011 | Permalink
  9. I'm not affiliated with Gravity Forms but maybe this advice will help you:

    Removing the conditional logic section is not the fix to the problem but the confirmation that it's due to missing JavaScript or a JavaScript conflict. In the previous cases, it was a JavaScript conflict due to the Google Analyticator plugin. Deactivating that plugin allowed the form to work properly.

    Forms with conditional logic will not show up due to one of few simple problems normally: 1) a plugin conflict. 2) using a function call or adding the form to a widget and not enqueuing the required JavaScript or 3) no call to wp_footer() in the theme you're using.

    For #3, make sure there is a call to wp_footer() in your footer.php or equivalent theme file.

    For #2, see the FAQ about enqueuing styles and scripts when inserting a form with other than the short code. http://www.gravityhelp.com/frequently-asked-questions/#faq_styling (search that page for enqueue).

    For #1, the standard advice is to deactivate all plugins and see if the form shows. If it does, then activate plugins one by one until the form fails to appear. Once you've found the plugin that causes the failure, report back here to see if there is any fix for it, or report the conflict to the plugin author.

    If the form does not appear with all plugins except Gravity Forms deactivated, then try using the default Twenty Ten theme. If it works with the default theme, then you've found a problem with your theme.

    Please post your results.

    Posted 13 years ago on Monday January 31, 2011 | Permalink
  10. elsubsta
    Member

    Hi

    Been having the same 'form not showing problem' - turned out to be a conflict with the Pretty Links wp plug-in.

    I guess my only option is to choose which of the two programmes is more important to me?

    Posted 13 years ago on Saturday February 12, 2011 | Permalink
  11. @elsubsta One thing to try with the Pretty Links is to change the shortcode. What is happening is Pretty Links is trying to replace the text. We have found some users can work around this by changing the shortcode slightly.

    When you insert the shortcode using the shortcode wizard it inserts a shortcode that looks like this into your post:

    [gravityform id=X title=My Form Name]

    Once it does this, try shortening the shortcode and remove the name= portion of it so it is just this:

    [gravityform id=X]

    I've seen this solve the Pretty Links plugin. I'm not 100% sure what the Pretty Links plugin is doing to cause this issue. It's changing the shortcode and rendering it unusable in the process. The issue is on the Pretty Links side, not the Gravity Forms side. So keep in mind when selecting Pretty Links over Gravity Forms you are selecting to retain a plugin that is causing WordPress not to function properly.

    Posted 13 years ago on Saturday February 12, 2011 | Permalink
  12. elsubsta
    Member

    Hi Carl

    Thanks for the advice; sorry but that shortening of the shortcode didn't help.

    I've also raised this with the Pretty Links site, but no response so far...

    I'm plowing on with just gravity forms at the moment, but if i do get any response i'll post it here.

    ttfn

    Posted 13 years ago on Saturday February 12, 2011 | Permalink
  13. Please do. I'm interested to see what the problem is. This is the only shortcode we have run into this problem with, and I find it a bit suspicious that the only shortcode that causes this problem happens to be developed by a big supporter of one of our competitors.

    Posted 13 years ago on Monday February 14, 2011 | Permalink
  14. n8woods
    Member

    I need to add mine to the mix: I have 3 forms, one of which uses conditional logic that were on my dev. site, I have moved them to the "soon to be live" site, and I get weird layout, and the form with conditional logic does not appear at all. I tried to rebuild the simpler contact forms and still get the weird single line input form width ( 162px) even when I have selected, medium or large for the input widths.

    Any help would be greatly appreciated.

    Posted 13 years ago on Monday February 28, 2011 | Permalink
  15. @n8woods It sounds like your CSS and Javascript aren't being output on the page. If you get a weird layout then the CSS probably isn't being output. If conditional logic isn't working then Javascript isn't being output.

    You need to make sure your theme has the wp_head() function call in place in the header.php and the wp_footer() function call in place in the footer.php file. Because from what you describe, the necessary CSS and Javascript doesn't exist on the page. These are added via enqueue which relies on these 2 functions to work.

    Also, conditional logic may not work if there are any Javascript errors on your page. So inspect the page with Firebug and make sure you don't have any Javascript errors.

    If you post a link to a page where we can see the issue happening we could tell right away what the issue is.

    Posted 13 years ago on Monday February 28, 2011 | Permalink
  16. There appears to be a conflict with the Category Grid View Gallery plugin. With that plugin active, any gravity forms containing conditional logic disappear. I saw a recommendation in this thread that we add such findings to the "Known Conflicts" list... but I'm not sure where that is.

    Posted 12 years ago on Wednesday October 17, 2012 | Permalink
  17. We used to keep a list of plugins with known conflicts, but it was never comprehensive and changed frequently, depending on the reports of conflict plugins we received.

    http://www.gravityhelp.com/question/are-there-any-known-plugin-conflicts/

    That list is out of date and nearly no one reports conflicts with those plugins any more.

    Thank you for reporting your conflict here.

    Posted 12 years ago on Thursday October 18, 2012 | Permalink