Doh! That should probably have been
<cfloop collection="#form#" item="x">
<tr>
<td>
<cfoutput>#x#</cfoutput>
</td>
<td>
<cfoutput>#form.[x]# </cfoutput>
</td>
</tr>
</cfloop>
-----Original Message-----
From: Mike Townend [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 2, 2001 17:42
To: CF-Talk
Subject: RE: Output Issue
Try this:
<cfloop list="#form.fieldnames#" index="x" delimiters=",">
<tr>
<td>
<cfoutput>#x#</cfoutput>
</td>
<td>
<cfoutput>#form.[x]# </cfoutput>
</td>
</tr>
</cfloop>
HTH
Mike
-----Original Message-----
From: Mike Tangorre [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 2, 2001 17:37
To: CF-Talk
Subject: Output Issue
I have the following code:
<cfloop list="#form.fieldnames#" index="x" delimiters=",">
<tr>
<td>
<cfoutput>#x#</cfoutput>
</td>
<td>
<cfoutput>#form.#x## </cfoutput>
</td>
</tr>
</cfloop>
The value for the form field throws an error the way I am doing it. I am
not familiar with the Evaluate function and the concatonation of
strings, is this what I should do?
Thanks for any help or explanation.
Mike
===================================
Michael T. Tangorre
Web Applications Developer
Alfred University Webteam Slave :-)
[EMAIL PROTECTED]
AIM: CrazyFlash4===================================
"Friends don't let friends code before
coffee!"===================================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists