Check out the recent article in CFDJ about building wizards. This would be a
perfect application for the principals discussed there. The difference is
that instead of using cookies or hidden form fields to hold/pass persistent
user data you use WDDX and JavaScript arrays. If nothing else, it would be a
good exercise in learning more about WDDX.

Steve

-----Original Message-----
From: CFM [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 03, 2000 3:30 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Surveys


pass 'em along from page to page as hidden form fields until you get to the
page you want to do the inserting/updating with.

i.e. if you pass input fields called #firstname# and #lastname# from the
first page, then you pass them on the second page like:

<input type="hidden" name="firstname" value="#form.firstname#">
<input type="hidden" name="lastname" value="#form.lastname#">

and so on until you get to the insert/update page, where you'll reference
all your variables as #form.#

jb

-----Original Message-----
From: Miriam Hirschman [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 03, 2000 11:04 AM
To: CF Forum
Subject: Surveys


I am creating a survey with about 30 questions.  I have about 3 pages with
10 questins on each page.  I want to save all the  answers so by the last
page (when I collected allthe answers)I can update the database.  What is
the best way to save the form variables (application, session variables).  I
appreciate your help.

Thanks,

---miriam

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to