Bad idea, I've tried it several times. I have a situation like that here at work. I used multiple forms and would insert/update the info after each page instead of saving it till the end. I wound up having to do
a lot of database work because someone would lose power, or they would start the form and go to lunch and it had timed out when they came back, or they would click the submit button but decide to go back and try again...etc...
You cannot anticipate how people will use your application. No matter how simple or how striaght forward it is, or how much training they've had on it, someone will always be screwing it up. That's a fact.
If you're going to build it so that it saves the data after every form, you will have to make it so that the users can come back to it at any point and pick up where they left off. Go ahead and plan on that from the start.
My advice would be, just pass the info from form to form until you submit it at the end. Here's an easy way to do it (thanks to
webmigit). Just put this at the beginning of every form after your first one, and it will take all values from the previous form and store them as hidden form fields in your new form.
Code:
<cfoutput>
<cfloop list="#form.fieldnames#" index="f">
<input type="hidden" value="#jsstringformat(FORM[f])#" name="#f#">
</cfloop>
</cfoutput>
Hope This Helps!
Ecobb
Beer Consumption Analyst
"My work is a game, a very serious game."
- M.C. Escher