Try this instead:

<cfif structKeyExists(form, "fieldnames")>
<cfoutput>
        <cfloop list="#form.fieldnames#" index="i">
                #i# = #form[i]#<br />
        </cfloop>
</cfoutput>
</cfif>

Chris Peterson

-----Original Message-----
From: Duane [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 27, 2007 4:20 PM
To: CF-Community
Subject: RE: Form Dump

I haven't tried the code (could be typos) but this should be close.

<cfloop list="#form.fieldnames#" index="thisField">
<cfoutput>#thisField# = #evaluate("form.#thisField#")#</cfoutput><br/>
</cfloop>



-----Original Message-----
From: Scott Raley -ITC [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 27, 2007 5:14 PM
To: CF-Community
Subject: Form Dump

I've got to put an employment application online and email this. Other
then
cfdump'ing it to an email is there any easy way to dump all the form
fields.
Already tried a mailto cgi script and it wasn't working as well as I
hoped.
Any php tag or other cf solution out there?






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:249202
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to