Saving a web-form for later use?

I have a dilema that I am not sure what way to go.  I have a php-html webform that I would like the user to have the option of clicking "Save for Later" and be able to save it and come back to it at another time.  I am not running an online DB at this time.  Is this possible?  Any suggestions would be greatly appreciated.

Thank you,
Michael Zury
solsticeintAsked:
Who is Participating?
 
b0lsc0ttConnect With a Mentor IT ManagerCommented:
solsticeint,

You could do this with files on your server too.  The cookie method is most common and easiest though.  As long as the user will use the same computer and browser to finish and the info isn't too much cookies will work, if enabled.  As long as the cookie isn't a third party cookie it will most likely be saved.

As an alternative though you could use some unique identifier you generate and provide to the user as a file name for a text file on your server with the form info.  PHP can get form data and work with files on the server (i.e. create, read, write, and delete).  This would be an alternative if you can't count on cookies, have lots of info in the form, or want to provide a way to "carry the info" to another computer, browser, etc.

Let me know if you have any questions or need more information.

b0lsc0tt
0
 
quincydudeCommented:
You can save the form content as cookies on the client pc so when the form is loaded again, those entered data can be populated back to the fields.
0
 
solsticeintAuthor Commented:
By doing that, I could set the cookie to delete information if the form was submitted?  Also if they had cookies disabled that you not work?  

Thank you
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
quincydudeCommented:
Yes you can delete cookies in your code and of course this won't work if client disable the cookie. You can put a note to tell them about it so they will not disable if they want to redo the form at a later time.
0
 
solsticeintAuthor Commented:
Could the person save the file on their computer and then upload it?
0
 
b0lsc0ttIT ManagerCommented:
If you set up your server and pages to work with it then they could.  That adds complication to the process though since you need the server to make the file that can be saved, send it to the user, provide a page for the upload, and have script to process it.  You can make pages and scripts to do it though.
Let me know if you have any other questions.  If you need details on anything let me know but you might need to open new questions to get real details on this whole project.
bol
0
 
b0lsc0ttIT ManagerCommented:
I am glad I could help.  Thanks for the grade, the points and the fun question.
bol
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.