you might want to put the variables within a structure held within the
session.  This way you can have many forms using the same method, safe in
the knowledge that you wont accidentally overwrite any thing...  another
good thing to do would be to remove the structure from the session once the
form is submitted.

HTH
----- Original Message ----- 
From: "Robert Orlini" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, July 24, 2003 3:18 PM
Subject: RE: saved form fields


> This is what I did using sessions:
>
> <CFLOCK timeout="5" name="#session.sessionid#">
> <CFPARAM Name="session.institution" default="#form.institution#">
> </CFLOCK>
>
> Any problems with it? So far I still get an error that form filed is not
found.
>
> RO
>
> -----Original Message-----
> From: Randell B Adkins [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 9:59 AM
> To: CF-Talk
> Subject: Re: saved form fields
>
>
> Couple of ways:
>
> Pass them along each page as hidden form fields until all is
> completed.
> or save all data to a temp table and pull from the table when they are
> ready to purchase.
>
> That or use session variables.
>
>
> >>> [EMAIL PROTECTED] 07/24/03 09:51AM >>>
> How do I save a form field over multiple pages?
>
> After submitting the form from one page a review order page displays
> the fields and then the customer submits the order. Unfortunately the
> fields are gone. How can I retain the fields for future page
> submissions? Do I use <CFPARAM> or <CFSET>?
>
> Any help for this newbie is appreciated in advance...thanks!
>
> Robert O.
> HWW
>
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to