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 disappears when message sent successfully

  1. Hello,

    At my website, upon sending a message successfully, the contact form disappears and only my confirmation message is visible. Is this supposed to happen - the entire form disappearing?

    I'd rather a new, not yet filled out form be visible too.

    Thank you!

    Posted 12 years ago on Monday January 23, 2012 | Permalink
  2. Richard Vav
    Administrator

    This is normal behaviour when the form confirmation tab is set to text. As far as having an empty form also visible, one of the Gravity forms team will be able to confirm this, but you may have to redirect to another page that contains your success message above another copy of your form.

    Posted 12 years ago on Tuesday January 24, 2012 | Permalink
  3. Richard Vav
    Administrator

    Just had a thought, I haven't tried this but I think you could copy the shortcode you used to display your form and paste that into the confirmation text message on the form settings. The only problem I can foresee with that method would be that the form would be contained in the confirmation message box and would therefore pickup it's styles so you might have to add a closing div tag followed by an opening div tag such as this

    Thanks for taking the time to send us your enquiry today!
    </div>
    <div>
    [gravityform id="1" name="Form Name" title="false"]
    Posted 12 years ago on Tuesday January 24, 2012 | Permalink
  4. Thank you for your reply. The code above didn't work, sadly.

    I can redirect to another page for my contact form, per your suggestion, but my MailChimp form is in my sidebar widget on every page. Any other ideas for how to keep it visible after confirmation? Obviously, there's no tricky redirect I can do there...

    Posted 12 years ago on Tuesday January 24, 2012 | Permalink
  5. Richard Vav
    Administrator

    Sorry for the delay in getting back to you. As I mentioned previously I hadn't tried that code but I thought it should work because the confirmation text box accepts shortcodes, anyway I have now had chance to test it out on a basic form embedded on a page and as a sidebar widget and it is working OK in both situations.

    I don't have MailChimp setup on my test server so I haven't been able to test how that affects it but I wouldn't have thought it should cause any problems.

    Just to confirm when you copied that code example into the confirmation message text box you definitely updated the form id and title to match those of the form you were editing. If you did modify the id and title to match yours and it didn't work you might try setting up a temporary test page and basic single field form (without the MailChimp integration) and see if it works with that.

    Posted 12 years ago on Wednesday January 25, 2012 | Permalink