Use #evaluate("form.qty" & x)#

Allan Pichler


-----Original Message-----
From: Roozbeh Hashemiha [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 28, 2001 6:53 PM
To: CF-Talk
Subject: loop and # sign as a part of form object


Basic problem ... please help guys !

<cfloop index="x" from=1 to=10>
<cfoutput>#form.qty'#x#'# </cfoutput>
</cfloop>

what's wrong with this .. I can't make it work.. I have a form which has
form objects  named qty1 to qty10 and I want to display it in the loop and
play with that.

Help .. Thanks !
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to