I'm assuming here that your first page's form has an action that points to
the 2nd page, and this page contains a form as well.  If this is the case
you can loop over the FORM.fieldnames and create hidden form fields that
contain the values from the first form.  Just put this loop at the top of
each pages form definition and the form fields will be accumulated.  Then
after the last page all of the values will be in form fields.

Unless of course I missed something along the way!

______________________________________________________
Bill Grover
Supervisor IS Department        Phone:  301.424.3300 x396
EU Services, Inc.                       FAX:      301.424.3300 x1396#
649 North Horners Lane          E-Mail: mailto:[EMAIL PROTECTED]
Rockville, MD 20850-1299        WWW:      www.euservices.com
______________________________________________________


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 14, 2001 12:50 PM
> To: CF-Talk
> Subject: Passing form field data
> 
> 
> Hi, 
>  
> I have a very long form which i have broken down into 5 
> pages. My question
> is what's the best way to store and pass form fields from 
> each page to the
> last page where all field data will be sent to a database.
>  
> thanks
>  
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to