RE: listing FORM variables?

2000-09-21 Thread Steve Bernard

If you are using CF 4.5.x then the FORM variables are all available via the
FORM scope as a structure. Use the available Structure functions to list and
manipulate the FORM structure. You would use StructKeyList() specifically to
get a list of all FORM variables. To check for a variable's existence use
StructKeyExists(). See the CF Language Reference for specific syntax.

Steve

-Original Message-
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 5:34 PM
To: CF-Talk
Subject: RE: listing FORM variables?


I believe form.fieldnames does it.

-Adrian

-Original Message-
From: Dean Alexandrou [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 2:12 PM
To: CF-Talk
Subject: listing FORM variables?


How do I list all the form variables passed to a page?

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.



RE: listing FORM variables?

2000-09-21 Thread Jones, Matt




#thisField#:  #evaluate(tempval)# 




-Original Message-
From: Dean Alexandrou [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 4:12 PM
To: CF-Talk
Subject: listing FORM variables?


How do I list all the form variables passed to a page?




--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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/cf-talk@houseoffusion.com/
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.



Re: listing FORM variables?

2000-09-21 Thread Billy Cravens

This is available in a form variables:
form.fieldnames

Loop over this using cfloop, and you can output the value of each by
evaluate().


  
#ff# : #evaluate("form."&ff)#



-- 
Billy Cravens
[EMAIL PROTECTED]



Dean Alexandrou wrote:
> 
> How do I list all the form variables passed to a page?
> 
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> 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/cf-talk@houseoffusion.com/
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.



RE: listing FORM variables?

2000-09-21 Thread Adrian Cesana

I believe form.fieldnames does it.

-Adrian

-Original Message-
From: Dean Alexandrou [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 2:12 PM
To: CF-Talk
Subject: listing FORM variables?


How do I list all the form variables passed to a page?


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.