gr3g Posted March 23, 2006 Share Posted March 23, 2006 Hi all I have a .php page with a heap of form questions that posts to a processing php page.Id like to break it up into multiple pages with the submit on the last page, how is this done?. Quote Link to comment https://forums.phpfreaks.com/topic/5562-multi-page-forms/ Share on other sites More sharing options...
anatak Posted March 23, 2006 Share Posted March 23, 2006 You can do this two ways.or you put all the input in session vars and you validate only at the last form.or (I think better way) is to validate all the vars and write them to your db after each page.so form1 submit points to form2form2 validates the input from from 1 and points to form3or you can combine the two ways and put the validated input in session vars untill you are at the last page and write then everything to your db.hope this helpsanatak Quote Link to comment https://forums.phpfreaks.com/topic/5562-multi-page-forms/#findComment-19876 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.