How about <cfdump var="#form.fieldnames#"> or 
<cfloop list="#form.fieldnames#" index="x">
<tr>
     <td>
      <cfoutput>#x#</cfoutput>
     </td>
     <td>
       <cfoutput>#Evaluate('form.' & x)# </cfoutput>
      </td>
</tr>
</cfloop>

There are many variations.

-----Original Message-----
From: Mike Tangorre [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 12:37 PM
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to