Jump to content

Need Some Direction On Form Data


refiking

Recommended Posts

I need some direction for creating a script that will allow me to store the data from multiple pages of dorm data on one record.  For example.....

 

Page 1

 

What is your name?

What is your telephone number?

What is your address?

 

 

Page 2

 

Where do you currently work?

How long have you worked there?

What is your estimated pre-tax salary?

 

Page 3

 

Have you ever filed for Bankruptcy?

Have you ever defaulted on a student loan?

 

 

And on each page, I'd like the data from the previous page to still be stored on the same record.

Link to comment
Share on other sites

Well, which part is it that you are struggling with? Are you able to create a form and store the information in a database - is it just the process of splitting the form across multiple pages that you are unsure of?

 

If so, i guess what i would do is:

 

1.) Once the form on page is submitted, check the data, and create a new record in the database. Store their session id and set a field such as `complete` to 0/false/no

2.) Redirect to second form

3.) Once that is submitted, update the relevant row, which you will be able to do with the session id

4.) Redirect to third

5.) Lastly, after the third is submitted adequately, update the `complete` field to 1/true/yes

 

You would then only "deal" with records where the whole form has been completed, and could routinely delete records that are only partially complete.

Link to comment
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.