I'm designing a multi-page form for something, and I wanted to have it save all of the entered data so that a user can jump between pages and not lose information. Then on the last page, when they finally click submit, everything gets put into a database.
For example, the user enters some data on page1, clicks "Next." The form action of page1 is page2, which will check the entered data. If the fields are all correct, page2 will come up, otherwise the user will get bounced back to page1 to fix their mistakes. If they get bounced back, all of the fields they filled in on page1 will have the data that was entered already in them.
The part I'm having a problem figuring out is: what if the person fills out page1, clicks "Next" and has no errrors, so page2 displays. They start filling out page2, then realize they made a mistake on page1, so they click "Back". Is there a way to have it save all of the information that was already entered into page2, so that once they fix the error on page1 then click "Next" page2 is filled with whatever they had already entered (even though they hadn't clkicked "Next" on page2)?
Hopefully that made sense.. If not I'll try to explain again
For example, the user enters some data on page1, clicks "Next." The form action of page1 is page2, which will check the entered data. If the fields are all correct, page2 will come up, otherwise the user will get bounced back to page1 to fix their mistakes. If they get bounced back, all of the fields they filled in on page1 will have the data that was entered already in them.
The part I'm having a problem figuring out is: what if the person fills out page1, clicks "Next" and has no errrors, so page2 displays. They start filling out page2, then realize they made a mistake on page1, so they click "Back". Is there a way to have it save all of the information that was already entered into page2, so that once they fix the error on page1 then click "Next" page2 is filled with whatever they had already entered (even though they hadn't clkicked "Next" on page2)?
Hopefully that made sense.. If not I'll try to explain again