If it is an *.cfm page you could loop through the form fields:
<cfset CRLF = Chr(13) & Chr(10)>
<cfif IsDefined("form.fieldnames")>
<cfloop index="form_element" list="#FORM.fieldnames#">
<!--- Try to find current element in list --->
<cfif ListFind(fieldnames_processed, form_element) IS 0>
<!--- Make fully qualified copy of it (to prevent acessing the
wrong
field type) --->
<cfset form_element_qualified = "FORM." & form_element>
<!--- Append it to message body --->
<cfset message_body = message_body & form_element & ": " &
Evaluate(form_element_qualified) & CRLF &
"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists