Ray,


form.fieldnames is a comma delimited list of all field names submitted
through the form.


You can loop through that variable and get all field names.  To display
their values you would do something like this:


<CFLOOP LIST="#form.fieldnames#" INDEX="item">
    <cfoutput>#Evaluate("form." & item)#</cfoutput>
</CFLOOP>


Sincerely,


Dave Phillips
National Marketing Director
Legacy for Life
615-746-3851
[EMAIL PROTECTED]

________________________________

From: Ray Champagne [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 9:47 AM
To: CF-Talk
Subject: getting all form fields?

I am trying to set up a FormMail-like script to generically handle
contact
forms, etc.  I know there is a way to get all submitted form fields, I
just
forget what it is...any help?

Like HTTP_FORM_FIELDS or something like that....

TIA,

Ray

=============================================
Ray Champagne - Senior Application Developer
CrystalVision Web Site Design and Internet Services
603.433.9559
www.crystalvision.org
=============================================

The information contained in this transmission (including any attached
files) is CONFIDENTIAL and is intended only for the person(s) named
above. If you received this transmission in error, please delete it
from your system and notify us immediately. If you are not an intended
recipient, please note that any use or dissemination of the information
contained in this transmission (including any attached files) and the
copying, printing, or retransmission of that information is strictly
prohibited. You can notify us by return email or by phone at
603.433.9559.
Thank you.
________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to