THANK YOU!
On May 3, 2005, at 12:12 PM, James Holmes wrote: > 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## > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:869 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
