Yes, you can use the "form.fieldnames" list and loop through it, something
like this:

<CFLOOP LIST="#Form.FieldNames#" INDEX="Field">
        <BR><CFOUTPUT>Form.#Field# = #Form[Field]#</CFOUTPUT>
</CFLOOP>

Chris Lofback
Sr. Web Developer

TRX Integration
28051 US 19 N., Ste. C
Clearwater, FL  33761
www.trxi.com


> -----Original Message-----
> From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 05, 2003 8:20 AM
> To: CF-Talk
> Subject: Checking all form fields
> 
> 
> Is there a way in CF5 to check all form fields even if you 
> don't know their 
> names?  Some way to loop through the entire form.* scope, perhaps?
> 
> T
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to