[thelist] output value

Stevenson Ngila Stevenson at epr.footman-walker.com
Thu Jan 23 07:25:01 CST 2003


I have form fields called "doc_1", "doc_2".

Now i have a loop which loops from 1 to 2 setting the form fields i.e.

	<cfset iDocNo = 0>
	<cfloop index="iCount" from="1" to="2">
		<cfset field = 'doc_#iDocNo#'>
	</cfloop>
	<cfset iDocNo = iDocNo + 1>

How can i get the value of the field using FORM.field i.e #FORM.field# is
giving me an error.





More information about the thelist mailing list