Jump to content

Recommended Posts

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 form2
form2 validates the input from from 1 and points to form3

or 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 helps

anatak
Link to comment
https://forums.phpfreaks.com/topic/5562-multi-page-forms/#findComment-19876
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.