I have a form for students to take a test. I want to output the answers using
a loop. The test has 5 questions. I am trying to get the output of
FORM.question1, then FORM.question2, etc.
Thank you in advance
<cfloop index = "loopCount" from = "1" to = "5" step = "1">
<cfoutput>
FORM.question#loopCount# = #FORM.question("#loopCount#")#<br />
</cfoutput>
</cfloop>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4998
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm