0

anyone here knows how to make a save and continue? I have a multi page form and it have many different parts so I need a save and continue form so they can fill out this form on the other day.

So firstly a user will log in into his/her account and they will see this link,

see image here

Once they will click on it, they will see a multi page form like this,

form image

When the user has filled out these data,

Sample data,

sample data 1

sample data 2

So when the user click save, the data that the user have input will be save so when they will log in back into his/her account the data that has been saved will be displayed in the form.

Saved data,

saved data 1

saved data 2

I have not yet tried any code because I'm new to php and mysql so please help! Thank you so much.

1
  • Stack overflow isn't here to write your code for you or teach you how to use php and mysql from scratch; you need to actually read some guides/docs, write some code and then come back with specific problems you've encountered. Commented Sep 22, 2018 at 13:59

2 Answers 2

1

Each time a user selects Next, add the data provided by the user to the relevant row in a database table. In this row, have a status column with status 'Draft' until the user completes the form upon which you change the status to 'Completed'. Each time a user opens the form, load any data already entered in the past by this user. You might consider using a column to store information about the latest page of the form used by the user, so the user can resume at that particular page of the form later. We are not here to provide you with all the code. If you have a problem or question related to a part of the code, feel free to ask though. Good luck!

Sign up to request clarification or add additional context in comments.

Comments

0

When the user clicks on the Next Button, Save the Data into your Mysql DB in a Save Block. In the Save block user "INSERT" Query to Insert Data to DB. After that use PHP "header" function to redirect to the same page.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.