I think I know what I want to do now...
1. - Store the Form.Variables into a Structure.
<-cfscript>
tmpStruct = StructNew();
SomeArrayformNames = ListToArray(form.fieldnames);
for(i=1; i LT ListLen(form.fieldnames)+1; i=i+1){
StructInsert(tmpStruct,"Attributes.#ListGetAt(form.fieldnames,i)#",evaluate("form." &
ListGetAt(form.fieldnames,i)));
}
<-/cfscript>
2. - Store the Structure as a Client.Variable (using a datastore)
<cfset Client.tmpStructure = tmpStruct> ???
3. - A few pages later I want to dump the Structure back out into
Attributes.Variables.
??? how... been finding this quite hard to accomplish
At 10:02 AM 11/23/02, you wrote:
>I have a large form (around 100 text boxes and check boxes etc...). Once the user
>submits it they still need to navigate about 6 more forms before the data can be
>written to a database.
>
>How do I go about storing the form data temporarily until I can write it to disk? I
>suspect there are more than one ways that you all are doing this.
>
>Thanks for a few clues.
>
>Brian
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com