RE: Checking all form fields

2003-02-05 Thread John Stanley
no, but you can use javaqscript to do this.

-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 8:20 AM
To: CF-Talk
Subject: Checking all form fields


Is there a way in CF5 to check all form fields even if you don't know their 
names?  Some way to loop through the entire form.* scope, perhaps?

T


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Checking all form fields

2003-02-05 Thread Thomas Chiverton
On Wednesday 05 Feb 2003 13:21 pm, John Stanley wrote:
 no, but you can use javaqscript to do this.

The tag cfdump manages it, I'd suggest looking at it's code.

-- 
Tom C

Given enough time and money, and a following wind, a PC can do FMV.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Checking all form fields

2003-02-05 Thread Tangorre, Michael
yes.


cfoutput
cfloop list=#form.fieldnames# index=thisElement

Form Element Name is  -  #thisElement#
Form Element Value is -  #Evaluate('form.  thisElement')#

/cfloop
/cfoutput

hth,

Mike





-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 8:20 AM
To: CF-Talk
Subject: Checking all form fields


Is there a way in CF5 to check all form fields even if you don't know their 
names?  Some way to loop through the entire form.* scope, perhaps?

T


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Checking all form fields

2003-02-05 Thread Lofback, Chris
Yes, you can use the form.fieldnames list and loop through it, something
like this:

CFLOOP LIST=#Form.FieldNames# INDEX=Field
BRCFOUTPUTForm.#Field# = #Form[Field]#/CFOUTPUT
/CFLOOP

Chris Lofback
Sr. Web Developer

TRX Integration
28051 US 19 N., Ste. C
Clearwater, FL  33761
www.trxi.com


 -Original Message-
 From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 05, 2003 8:20 AM
 To: CF-Talk
 Subject: Checking all form fields
 
 
 Is there a way in CF5 to check all form fields even if you 
 don't know their 
 names?  Some way to loop through the entire form.* scope, perhaps?
 
 T
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Checking all form fields

2003-02-05 Thread Bosky, Dave
CFLOOP COLLECTION=#form# ITEM=i 
CFIF i is not FIELDNAMES
#Variables.i# #form[i]# 
/CFIF

/CFLOOP 

Regards,
Dave Bosky
Sr. Multimedia Web Designer
Horry Telephone Cooperative, Inc. 
office: (843)369-8613
[EMAIL PROTECTED]


-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 8:22 AM
To: CF-Talk
Subject: RE: Checking all form fields


no, but you can use javaqscript to do this.

-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 8:20 AM
To: CF-Talk
Subject: Checking all form fields


Is there a way in CF5 to check all form fields even if you don't know their 
names?  Some way to loop through the entire form.* scope, perhaps?

T



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Checking all form fields

2003-02-05 Thread John Stanley
you are correct, i should not have said no.

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 8:34 AM
To: CF-Talk
Subject: RE: Checking all form fields


yes.


cfoutput
cfloop list=#form.fieldnames# index=thisElement

Form Element Name is  -  #thisElement#
Form Element Value is -  #Evaluate('form.  thisElement')#

/cfloop
/cfoutput

hth,

Mike





-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 8:20 AM
To: CF-Talk
Subject: Checking all form fields


Is there a way in CF5 to check all form fields even if you don't know their 
names?  Some way to loop through the entire form.* scope, perhaps?

T



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Checking all form fields

2003-02-05 Thread Tangorre, Michael
no problem. I enjoyed the variety of ways people chimed in with in regards to doing 
this. Just goes to show you there are so many ways to do things in CF, even for simple 
things like looping over lists.

:-)


-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 8:37 AM
To: CF-Talk
Subject: RE: Checking all form fields


you are correct, i should not have said no.

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 8:34 AM
To: CF-Talk
Subject: RE: Checking all form fields


yes.


cfoutput
cfloop list=#form.fieldnames# index=thisElement

Form Element Name is  -  #thisElement#
Form Element Value is -  #Evaluate('form.  thisElement')#

/cfloop
/cfoutput

hth,

Mike





-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 8:20 AM
To: CF-Talk
Subject: Checking all form fields


Is there a way in CF5 to check all form fields even if you don't know their 
names?  Some way to loop through the entire form.* scope, perhaps?

T




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Checking all form fields

2003-02-05 Thread Thane Sherrington
At 08:31 AM 02/05/03 -0500, Lofback, Chris wrote:
Yes, you can use the form.fieldnames list and loop through it, something
like this:

Excellent.  Thank you.

T 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Checking all form fields

2003-02-05 Thread Ewok
ouch evaluate

cfloop collection=#Form# item=i
 #form[i]#br
/cfloop

just another method

- Original Message -
From: Tangorre, Michael [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 8:39 AM
Subject: RE: Checking all form fields


 no problem. I enjoyed the variety of ways people chimed in with in regards
to doing this. Just goes to show you there are so many ways to do things in
CF, even for simple things like looping over lists.

 :-)


 -Original Message-
 From: John Stanley [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 05, 2003 8:37 AM
 To: CF-Talk
 Subject: RE: Checking all form fields


 you are correct, i should not have said no.

 -Original Message-
 From: Tangorre, Michael [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 05, 2003 8:34 AM
 To: CF-Talk
 Subject: RE: Checking all form fields


 yes.


 cfoutput
 cfloop list=#form.fieldnames# index=thisElement

 Form Element Name is  -  #thisElement#
 Form Element Value is -  #Evaluate('form.  thisElement')#

 /cfloop
 /cfoutput

 hth,

 Mike





 -Original Message-
 From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 05, 2003 8:20 AM
 To: CF-Talk
 Subject: Checking all form fields


 Is there a way in CF5 to check all form fields even if you don't know
their
 names?  Some way to loop through the entire form.* scope, perhaps?

 T




 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4