Ability to save current state of a form being submitted
krynsky - June 25, 2007 - 20:32
| Project: | Webform |
| Version: | 5.x-1.4 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I am currently working on implementing this form for an intranet based application where one of the forms used is fairly lenthy and will take quite a bit of time to complete. The dept. I'm createing the form for has fears of a user not being able to complete the form in a single session and has asked for the ability to allow users to save the current state of their submission before sending it. Is this possible? I haven't come across forms that allow this behavior in the past, but since these are being stored in the db i thought adding a temp table for incomplete forms to be submitted may work.

#1
I don't have time to help you on this, but I will give you one possible direction in which to head: Take a look at the recently-added code to do multi-page forms. It stores intermediate steps in the $_SESSION variable. This could fairly easily be adapted to instead store the data in a table somewhere. Doing it this way would have the advantage that it would always save the data after every step, without the user needing to take any action.
You would, however, want to make this ability optional. I don't think all forms should always be handled this way.
#2
Thanks so much for the information. I'll take a look at that as a possible solution.
#3
Hi krynsky, I was wondering if you had done anything about this issue as yet. If you haven't then I suppose I'll have to dive into it.
#4
Any updates on this feature?
#5
This issue is older, but the other issue has a patch, so setting this as duplicate of http://drupal.org/node/226907.