Shawn, 

That's really odd that it's not working for you.

Are you sure you're trying:

        <CFLOOP LIST="#form.FieldNames#" INDEX="xField">

You could always use the form struct that CF builds for you:

        <CFLOOP COLLECTION="#form#" ITEM="xField">

HTH
- Nate

-----Original Message-----
From: Shawn Grover [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 5:27 PM
To: CF-Talk
Subject: Simple Form Loop question


I'm looking for the method to loop through the elements of a form, when the
number/names of the elements is not known.

I've seen reference to #Form.FieldNames# but this doesn't seem to work on my
server (CF 5.0).

Anybody wanna share? Thanks.

Shawn Grover

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to