User can first fill in Items in step1 and click step2 , continue fill in items(user can also go back to page 1 when they click it), then submit. All items in page 1 and page2 can be sent to
How can I do it?
I can not really think of an easy way to do this since both steps will be submitted together. The way I would do it is have three forms: frmStep1,frmStep2, frmMain.
Start with "Section 1" The user fills out information and to move on, the user must submit "Section 1" information. after that, that information is in the db. The user can now move to "Section 2".
"Section 2" will have the next form. The user can fill in information in this form and hit submit, if he wants to go back to "Section 1", he clicks on the tab back to "Section 1", but a popup comes up saying, If you do this without submiting the page you are on, you will lose any new information. The user clicks cancel or ok.
Ok will take you to "Section 1", cancel will let the user stay still.
He goes back to "Section 1", the db loads information already entered into the correct fields. Now the user can now hit sumbit with he's changes and the db will update.
You can see where I am going with this, can you not?
Oh, and to make sure information doesn't get mixed up, you might want to make sure there is a user login script working for you. If you need a good working one, you might want to ask whammy for his site, so you can get his.