This will loop through all of the submitted fields, capture the field names
and display the value.
<CFLOOP INDEX="myFields" LIST="FORM.FieldNames">
<CFSET thisFieldName = myFields>
<CFSET thisFieldValue = Evaluate(myFields)>
<CFOUTPUT>
Field Name: #thisFieldName#
<br>
Field Value: #thisFieldValue#
<p>
</CFOUTPUT>
</CFLOOP>
Dave
=================================
"What we need is a list of specific unknown problems we will encounter"
David Hannum
Web Analyst/Programmer
Ohio University
[EMAIL PROTECTED]
(740) 597-2524
----- Original Message -----
From: "Jason Glaun" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 24, 2000 8:32 AM
Subject: picking up form variables on the action page??
I have a form page and I am dynamically generating field names from my
database like so:
<cfform>
<cfinput name="Reference_#ReferenceID#">
<Submit>
</cfform>
in some cases there are 10 input boxes and in otheres there are 2 onput
boxes, My question is how can I capture these fields in the action page if
I am not aware of there name prior to submitting. Can anyone be of
assistance???
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.