Yes my mistake... Posted the reply before I caught the FieldNames list
loop :(



-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 2, 2001 17:55
To: CF-Talk
Subject: RE: Output Issue


I think you mean #form[x]#, not #form.[x]#.

Also, if you are going to use form as a scope, don't use CFLOOP List,
do:

<CFLOOP ITEM="X" COLLECTION="#FORM#">



=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Mike Townend [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 02, 2001 12:42 PM
> 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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to