Neil,

This was simply a BASIC, FUNDAMENTAL way to showing Jason the PRINCIPAL of
dynamically grabbing the values.  It was not meant for a specific
application.  Nobody was talking about efficient code - (but if you are, why
loop through a bunch of values that may or may not exist?  The overhead with
the associated CFIF's  would be less efficient.)

Dave



----- Original Message -----
From: "Neil H." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 24, 2000 8:58 AM
Subject: Re: picking up form variables on the action page??


This is another way to do it however it seems less efficient since there
could be several other fields in the form.  I was assuming this is a much
larger form for my suggestion.

Neil

----- Original Message -----
From: "Dave Hannum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 24, 2000 8:57 AM
Subject: Re: picking up form variables on the action page??


> 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.
>

----------------------------------------------------------------------------
--
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.

Reply via email to