> If it's a textbox, and there's no value, then the
> FORM.FieldName won't be
> passed. (Unless I have initialized it with a CFPARAM).
I'm sure that's not true - aren't your mistaking it with checkboxes?
If a value or string is not entered into a checkbox then the fieldname is
still passed - its just passed with a value of "" - ie nothing
-------------------------------------------------------
Rich Wild
Senior Web Designer
-------------------------------------------------------
e-mango.com ltd Tel: 01202 587 400
Lansdowne Place Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth Mailto:[EMAIL PROTECTED]
BH8 8EW, UK http://www.e-mango.com
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential. If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
-------------------------------------------------------
> -----Original Message-----
> From: Dave Hannum [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 24, 2000 3:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: picking up form variables on the action page??
>
>
> If it's a textbox, and there's no value, then the
> FORM.FieldName won't be
> passed. (Unless I have initialized it with a CFPARAM).
>
> 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: "Neil H." <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 24, 2000 9:52 AM
> Subject: Re: picking up form variables on the action page??
>
>
> How are you handling that in your example?
>
> Neil
>
> ----- Original Message -----
> From: "Dave Hannum" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 24, 2000 9:46 AM
> Subject: Re: picking up form variables on the action page??
>
>
> > OK - but what if no value was passed for that form field?
> You have to
> > decipher what fields had input and what ones have no value.
> >
> > Dave
> >
> >
> >
> > ----- Original Message -----
> > From: "Neil H." <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 24, 2000 9:26 AM
> > Subject: Re: picking up form variables on the action page??
> >
> >
> > How do you figure, what I was saying is pass the values for
> the number
> > appended to the end of the variable.
> >
> > Then loop through that list and reference the list element
> appended to the
> > end of "Reference_"
> >
> > Neil
> >
> > ----- Original Message -----
> > From: "Dave Hannum" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 24, 2000 9:22 AM
> > Subject: Re: picking up form variables on the action page??
> >
> >
> > > 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=list
> s/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.
> >
>
> --------------------------------------------------------------------------
--
> --
> 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.
------------------------------------------------------------------------------
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.