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.

Contact form redirect error

  1. Hi,
    I am trying to resolve an error.
    If a user hits the "Back" button after submitting a form, the user gets a "Confirm Form Resubmission" http://screencast.com/t/GB7E5wIC4Qxw.
    This page discusses this but doesn't reach a conclusion:
    http://stackoverflow.com/questions/5182966/right-way-to-redirect-after-form-submit
    Does anyone know how to resolve this?
    Thanks,
    Josh

    Posted 12 years ago on Wednesday May 9, 2012 | Permalink
  2. David Peralty

    Hi Josh,

    You have combined two different things. We've allowed the option to redirect a user after submission into Gravity Forms which is different than the back button issue. We can't do anything about a user hitting back on their browser. This is an issue almost as old as the web itself. On any form, after you submitted, if you hit back, you'll get this message. Not just on Gravity Forms.

    Posted 12 years ago on Wednesday May 9, 2012 | Permalink
  3. Hi David,
    I agree with you about this being as old as the web (and a very low probability issue).
    My understanding is that they are related in this way:
    If the code described on http://stackoverflow.com/questions/5182966/right-way-to-redirect-after-form-submit is added to a form submission action, it will prevent the redirect message from appearing when someone hits the back button.
    Thanks,
    Josh

    Posted 12 years ago on Wednesday May 9, 2012 | Permalink
  4. David Peralty

    Yeah, basically they insert an "extra" page/redirect so that going back doesn't go back to the form submitted page, thus getting rid of the error. You could do this as well by redirecting to a page using Gravity Forms, and then redirecting again using WordPress. It'll make things more complex for you, but you can do this.

    In Form Settings under Confirmation you can redirect to another page or URL.
    http://www.gravityhelp.com/documentation/page/Form_Settings

    Posted 12 years ago on Wednesday May 9, 2012 | Permalink