Thank you! :-)
Mike ----- Original Message ----- From: "Dave Babbitt" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 12:42 PM Subject: RE: Output Issue > 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 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists