Please Note: We are no longer using forums to facilitate standard support. 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 does not display, breaks content

  1. I have a form that is apparently breaking WordPress. If I try to embed the form on a page(id="12") using the shortcode builder, the form does not display, nor does any of the content. If I then try to embed a different form (say id="7"), it works as expected.

    I am using the pre_render hook to populate some fields.

    The preview of the problematic form works as expected. Fields pre-render. Everything looks good. I can submit an entry.

    But if I try to embed, it's like 'the_content()' breaks. Viewing source, there is NO evidence that the form is there, just an empty div.

    What I have tried:
    - exported form. Deleted old form. Re-imported. Nothing.
    - disabling ALL custom code (no pre_render, no custom validation, nothing) No good.
    - is a different WordPress template being triggered (nope. default. Works everywhere else.)
    - is it this specific page/slug? nope.

    Is there something about this form? (forgive the massive lists of options ... ) http://pastebin.com/ST5Dk3Pc

    ANY ideas? This has me stumped.

    Posted 3 years ago on Monday January 2, 2012 | Permalink
  2. Hey Bill, do you have a link to this form online?

    I installed the form at it works in preview mode. I see there is conditional logic in the form. It's possible there is a theme or plugin conflict. Have you tested for that? http://rkt.gs/testing

    Posted 3 years ago on Tuesday January 3, 2012 | Permalink
  3. @Chris - it's here: http://canyoncreative.com/dev/yorganicchef/order-additional-items/

    Still not working after switching to the default theme and deactivating everything except Gravity Forms. Other forms work, just not this one. And the preview works.

    When I embed THIS form, the content and the form just don't load. No error that I can see. No Javascript issues. Just odd.

    Posted 3 years ago on Tuesday January 3, 2012 | Permalink
  4. Can you export that form as XML and email it to me at chris@rocketgenius.com - I will try to recreate the issue locally.

    Posted 3 years ago on Wednesday January 4, 2012 | Permalink
  5. Should I be able to see the form without being logged in, or do I need to create an account and log in before I will see the form (or not see the form, even though I should be seeing it?)

    Posted 3 years ago on Wednesday January 4, 2012 | Permalink
  6. Chris:

    Eventually I will be adding the condition requiring log in, but as of right now, it should be publicly viewable.

    I am using a beta of the Authorize.net plugin, and I am wondering if that is causing the issue? The forms that work all have similar conditional logic, etc., but no credit card field.

    I tried nuking the credit card field ... no joy.
    I also tried reworking the embed shortcode without quotes (from another post) also no good.

    Just a guess at this point.

    Posted 3 years ago on Wednesday January 4, 2012 | Permalink
  7. Did you fix it? I see this form now:

    http://minus.com/mblMNgVhjB#1o

    That was in Chromium 15 on Ubuntu.

    Posted 3 years ago on Wednesday January 4, 2012 | Permalink
  8. Chris ... wrong url: http://canyoncreative.com/dev/yorganicchef/add-ons/

    Should I take this to Priority Support? Are there any logging functions that I can take a peek at to get a sense of where this is failing? The part that has me boggled is that ALL content is killed. It's not just that the form doesn't display, it's that ANY content is GONE ... not being loaded in any way.

    I'd love to help troubleshoot, but I'm honestly clueless at this point.

    Posted 3 years ago on Thursday January 5, 2012 | Permalink
  9. UPDATE: I am inserting the forms programmatically, instead of shortcode and that is working. Not at all ideal, but I'll take it. I'd love to figure this out, but I am on deadline. The URL I gave you before no longer reflects this problem.

    Posted 3 years ago on Thursday January 5, 2012 | Permalink
  10. Glad you found a work around. Sorry you can't get the shortcode working.

    If you have a developer license, then priority support is always an option, if you'd like to further troubleshoot.

    There are no built in logging functions in Gravity Forms but you can always turn on WP_DEBUG in your wp-config.php file, or enable verbose PHP error logging to see what's going on.

    Posted 3 years ago on Friday January 6, 2012 | Permalink

 

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only