> loop the form.fieldnames into session vars...
> <cfset session.pl = StructNew()>
> <cfloop list="#form.fieldnames#" index="i"> <cfset
> session.pl[i] - form[i]> </cfloop>
No need to loop... Although you can if you want :-)
<cfparam name="session['stcFormFields']" default="">
To save the form fields from the first form:
<cfset StructAppend(session['stcFormFields'],form)>
To save the second form:
<cfset StructAppend(session['stcFormFields'],form)>
To save the third form:
<cfset StructAppend(session['stcFormFields'],form)>
So on and so forth. Now all your form values are inside the stcFormFields
structure.
HTH,
Mike
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

