Multi Page forms and Back Button loses data.

  • Profile Image
    ambundle
    Asked on November 17, 2010 at 02:01 PM

    We have a rather lengthy form so we have page breaks in it. Occasionally a user will hit the back button and then they are frustrated they have to start all over again. I wonder if its possible to add a little code like in gmail when you are leaving a page with a draft "are you sure  you want to leave this page that means starting over buddy" I know my users are not top notch but I think it might be a little thing for a big improvement on the multi page experience.

    Bill

  • Profile Image
    aytekin
    Answered on November 18, 2010 at 12:24 PM

    Yes, you can add such a javascript code to the page where place your form. There are examples availables on the web. Here is one:

    http://stackoverflow.com/questions/1119289/how-to-show-the-are-you-sure-you-want-to-navigate-away-from-this-page-when-cha

  • Profile Image
    Divation
    Answered on December 01, 2010 at 03:51 AM

    FYI My multi-page forms save the information when the user presses the back button.  I just tested it on a 6 page form on my website.  I filled out some information on the first two pages.  I hit back.  The info on page one was still there.  I hit next to go back to the second page where I left off at and that info was still there...