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.

On Confirmation - go back?

  1. I'm trying to figure out a way to have the user go "back" after confirmation. I know I could do a redirection, but I can't dynamically handle the redirection and I'd like to not mess up the browser history to maintain a fluid navigation on the site.

    If they want to go back now, they have to hit the back button twice, once to get back to the form before they submitted it and then again to the actual page.

    Any ideas?

    Posted 14 years ago on Wednesday February 10, 2010 | Permalink
  2. You could use a simple javascript history statement on load.. put it in the body tag on the confirmation page.

    <body onload="javascript:history.go(-2)">

    if you didn't want it to happen automagically, you could simply make a link..

    <a href="javascript:history.go(-2)">Return to Previous Page</a>

    That would send you back 2 pages (or whatever number you specify) in one click. is that what you're looking for?

    Posted 14 years ago on Wednesday February 10, 2010 | Permalink