There has been lots of suggestions on here - but one more - I just built
a complex set of forms - there are 8 major forms - half of them
dynamically created form queries. User files in information and
continues through additional forms and css and js hide and show the form
layers. There is no limit to design here.
As any form information is selected - it is updated through js to a main
summary area. But since everything is contained on one page through
dynamic layers - there is no need to save it as temp.

I realize that all the suggestions may not hit your exact needs because
there is no specifics on the issue. I still can't understand of any
condition that you can't write quickly to a temp db file - even if the
forms on the future pages are conditional.

Also - there is the option of passing the form vars to a small 1 or 2
pixel frame through cf- where they can hang out, be written to a temp
cookie or inserted into a temp db file or any number of options.

Also - you can use session vars. Actually - We jsut implemented a
wholesale secure area where session vars about 6 different pieces of
info follow the user through.

I bet that many of the advanced cf'rs on the list could give a more
specific solution if there was more information too.
jay


brook wrote:


In most cases you would use hidden form fields on each page of the form
to 

pass the data along to the next page. If you search the tag gallery, I 

recall a CF tag that will generate all of the hidden form field code on 

each page. Try searching for "hidden","formfield" and the llke.



Othertimes, usually when the user will be submitting HTML content, you
can 

store the data in a temp table, or the same table with a temp flag.
Reason 

being,  that when there is HTMl submitted, it can not be stored very
well 

in a hidden form field due to all of the tags a quotation marks. If you 

need to use the second method, let me know and I can give you more
details...



Brook





At 01:21 PM 11/23/02 -0500, Ken Wilson wrote:

  

What dictates that the first form can't be written to the DB as soon as
they

submit it?



Ken







-----Original Message-----

From: Brian Scandale [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]

Sent: Saturday, November 23, 2002 1:02 PM

To: CF-Talk

Subject: temp variable storage?





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

Reply via email to