Can CF output a list of all the form variables passed to a page?
I vaguely remember this being possible but i don't remember how to do it.
jim
__
This list and all House of Fusion resources hosted by CFHosting.com. The place
#form.fieldnames#
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:43 PM
To: CF-Talk
Subject: listing all form variables
Can CF output a list of all the form variables passed to a page?
I vaguely remember this being
oi nerd!!
form is a structure..just loop the collection.
--
Critz
Certified Adv. ColdFusion Developer
Crit[s2k] - CF_ChannelOP Network=Efnet Channel=ColdFusion
-
Monday, April 8, 2002, 12:43:15 PM, you wrote:
nnc Can CF output a list of all the form
#form.fieldnames# should get it...
- Gary
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:43 PM
To: CF-Talk
Subject: listing all form variables
Can CF output a list of all the form variables passed to a page?
I vaguely remember
Sure Jim,
try this
!--- Form variables ---
H4Form Variables/H4
CFIF NOT IsDefined(Form.FieldNames)
PThere are no form variables/P
CFELSE
CFLOOP LIST=#Form.FieldNames# INDEX=Key
Form.#Key#: #Evaluate(Form. Key)#BR
/CFLOOP
/CFIF
At 12:43 PM 4/8/02
cfoutput#FORM.FieldName#/cfoutput
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: April 8, 2002 1:43 PM
To: CF-Talk
Subject: listing all form variables
Can CF output a list of all the form variables passed to a page?
I vaguely remember this being possible
If you want the field names they are also in form.fieldnames.
Shawn McKee
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 11:43 AM
To: CF-Talk
Subject: listing all form variables
Can CF output a list of all the form variables passed
CF5: cfdump var=#form#
not CF5: use form.fieldnames.
- Original Message -
From: [EMAIL PROTECTED]
Date: Monday, April 8, 2002 10:43 am
Subject: listing all form variables
Can CF output a list of all the form variables passed to a page?
I vaguely remember this being possible but i
ahh... #form.fieldnames#
...I knew there was a way to do it.
Thanks everybody,
jim
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ:
9 matches
Mail list logo