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

Should do it for you

-----Original Message-----
From: Maureen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 16, 2006 11:32 PM
To: CF-Community
Subject: need help quick

I know this should probably in CF-Talk but I can't remember my login
for that list so maybe some here could help me quickly.

I need the exact syntax to loop over all fields in a form and get both
the form field name and the field value.

Thanks,
  Maureen



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:206868
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to