> I am trying to get the output of FORM.question1,
> then FORM.question2, etc.
In newer versions of ColdFusion you can treat the form scope as a structure
and access the variables that way:
<cfoutput>#form['question' & loopCount]#</cfoutput>
In older versions of ColdFusion, you could use the evaluate() function:
<cfoutput>#evaluate('form.question' & loopCount)#</cfoutput>
-Justin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:5000
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm