FORM["radio#QUESTION_SEQ#"]

Or 

FORM["radio" & QUESTION_SEQ]

-----Original Message-----
From: Jim Gay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 4 May 2005 12:09 
To: CF-Newbie
Subject: dynamic FORM variables

I'm totally new to CF.
I'm creating a questionnaire that grabs questions and answers from the
database.
For each question, I generate the answers in radio buttons and use their
names as:

name="radio#QUESTION_SEQ#"

which translates to:

name="radio1"
name="radio1"
name="radio2"
name="radio2"
etc. etc.

I want to print the test results by marking the answers as correct or
incorrect with all answers displayed.
How can I access the FORM variables when my radio names are dynamic?
Essentially, what i want is the proper way to do this:

#FORM.radio#QUESTION_SEQ##

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:868
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to