if you're using 4.5, form variables are automatically in a structure
(named FORM) that always exists - it's just empty if there is no form
submission. what i would suggest is on your action page, just do a
StructKeyList(FORM) which will give you a list of all the keys (the
formfield names). from that you will be able to get the form values.
this is the same idea as brian set out below, but it works with a
structure instead of a list which i would think would work more quickly.
-emily

Brian Peddle wrote:
> 
> You can loop over all the fieldnames submitted:
> 
> <cfloop index="fields"  list="#form.fieldnames#" delimiters=",">
> 
> Put whatever processing on the fieldnames you need here
> 
> </cfloop>
> ---------- Original Message ----------------------------------
> From: "Lee Moore" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Thu, 6 Apr 2000 09:36:42 -0400
> 
> >Hello all.
> I have a work page that may recieve form submission from several different
> pages. These pages may have different numbers of form elements and the forms
> elements have different names. Is there some generic code that I can right
> that will take any form submissions and pass them on to the page it is
> forwarding too, regardless of names. This is something I could do with ASP
> by iterating through the forms numerically without specifying names, but I
> dont know how to do that in CF.
> 
> TIA
> 
> Lee
> 
> ------------------------------------------------------------------------------
> Archives: http://www.eGroups.com/list/cf-talk
> 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.eGroups.com/list/cf-talk
> 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.eGroups.com/list/cf-talk
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