RE: Find in-coming form fields
Could you possibly turn on debugging and see what form fields are being returned?? Brian Yager President - North AL Cold Fusion Users Group Sr. Systems Analyst NCCIM/CIC [EMAIL PROTECTED] (256) 842-8342 -Original Message- From: Steven Monaghan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 9:34 AM To: CF-Talk Subject: Find in-coming form fields I have a situation where I need to accept a form, but I don't know the names of the form fields that are set. I can't access the posting form, since it's hidden in someone else's app, so I can't find the names that way. I want to build a simple page where I can accept the post, then dump out all of the values in memory into an e-mail. I looked at the CFDUMP tag, but that requires the variable name. I'm new to Cold Fusion, so please indulge me if this is a simple task. Thanks for any help, Steve - Steven Monaghan Oracle DBA / Cold Fusion Developer MSC Industrial Direct Co., Inc. Melville, NY [EMAIL PROTECTED] http://www.mscdirect.com - This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by replying to the e-mail. Please then delete the e-mail and destroy any ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Find in-coming form fields
try this cfoutput #Form.FieldNames# /cfoutput hth mark -Original Message- From: Steven Monaghan [mailto:[EMAIL PROTECTED]] Sent: 24 September 2001 15:34 To: CF-Talk Subject: Find in-coming form fields I have a situation where I need to accept a form, but I don't know the names of the form fields that are set. I can't access the posting form, since it's hidden in someone else's app, so I can't find the names that way. I want to build a simple page where I can accept the post, then dump out all of the values in memory into an e-mail. I looked at the CFDUMP tag, but that requires the variable name. I'm new to Cold Fusion, so please indulge me if this is a simple task. Thanks for any help, Steve - Steven Monaghan Oracle DBA / Cold Fusion Developer MSC Industrial Direct Co., Inc. Melville, NY [EMAIL PROTECTED] http://www.mscdirect.com - This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by replying to the e-mail. Please then delete the e-mail and destroy any ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Find in-coming form fields
Here is one example: CFOUTPUT CFLOOP COLLECTION=#Form# ITEM=Field Form.#Field# = #Form[Field]#BR /CFLOOP /CFOUTPUT It simply uses the form as a structure and loops over the items. It will tell you the field name and display the value. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Steven Monaghan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 10:34 AM To: CF-Talk Subject: Find in-coming form fields I have a situation where I need to accept a form, but I don't know the names of the form fields that are set. I can't access the posting form, since it's hidden in someone else's app, so I can't find the names that way. I want to build a simple page where I can accept the post, then dump out all of the values in memory into an e-mail. I looked at the CFDUMP tag, but that requires the variable name. I'm new to Cold Fusion, so please indulge me if this is a simple task. Thanks for any help, Steve - Steven Monaghan Oracle DBA / Cold Fusion Developer MSC Industrial Direct Co., Inc. Melville, NY [EMAIL PROTECTED] http://www.mscdirect.com - This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by replying to the e-mail. Please then delete the e-mail and destroy any ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Find in-coming form fields
the FORM scope is a structure in CF4.5+. try a COLLECTION CFLOOP. to get all the names and values. christopher olive, cio cresco technologies, inc http://www.crescotech.com -Original Message- From: Steven Monaghan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 10:34 AM To: CF-Talk Subject: Find in-coming form fields I have a situation where I need to accept a form, but I don't know the names of the form fields that are set. I can't access the posting form, since it's hidden in someone else's app, so I can't find the names that way. I want to build a simple page where I can accept the post, then dump out all of the values in memory into an e-mail. I looked at the CFDUMP tag, but that requires the variable name. I'm new to Cold Fusion, so please indulge me if this is a simple task. Thanks for any help, Steve - Steven Monaghan Oracle DBA / Cold Fusion Developer MSC Industrial Direct Co., Inc. Melville, NY [EMAIL PROTECTED] http://www.mscdirect.com - This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by replying to the e-mail. Please then delete the e-mail and destroy any ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Find in-coming form fields
Steven Every form post contains a field called Fieldnames, which is a comma-separated list of fields in the form. So you could do - cfloop list=#FORM.fieldnames# index=i FORM.#i# = #FORM[i]# /cfloop Hope that helps Alistair Davidson Senior Developer Rocom New Media www.rocomx.net There is no spoon -Original Message- From: Steven Monaghan [mailto:[EMAIL PROTECTED]] Sent: 24 September 2001 15:34 To: CF-Talk Subject: Find in-coming form fields I have a situation where I need to accept a form, but I don't know the names of the form fields that are set. I can't access the posting form, since it's hidden in someone else's app, so I can't find the names that way. I want to build a simple page where I can accept the post, then dump out all of the values in memory into an e-mail. I looked at the CFDUMP tag, but that requires the variable name. I'm new to Cold Fusion, so please indulge me if this is a simple task. Thanks for any help, Steve - Steven Monaghan Oracle DBA / Cold Fusion Developer MSC Industrial Direct Co., Inc. Melville, NY [EMAIL PROTECTED] http://www.mscdirect.com - This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by replying to the e-mail. Please then delete the e-mail and destroy any ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Find in-coming form fields
Hello Steve, I was just doing this very thing this morning. The formfields are passed as a variable Form.FieldNames. This is the reply I got when I posted a similar question: cfloop index=formfield list=#Form.FieldNames# Cfoutput #formfield# - #evaluate(form.formfield)#br /CFOUTPUT /cfloop will list all formfields and their values HTH Will -Original Message- From: Steven Monaghan [mailto:[EMAIL PROTECTED]] Sent: 24 September 2001 15:34 To: CF-Talk Subject: Find in-coming form fields I have a situation where I need to accept a form, but I don't know the names of the form fields that are set. I can't access the posting form, since it's hidden in someone else's app, so I can't find the names that way. I want to build a simple page where I can accept the post, then dump out all of the values in memory into an e-mail. I looked at the CFDUMP tag, but that requires the variable name. I'm new to Cold Fusion, so please indulge me if this is a simple task. Thanks for any help, Steve - Steven Monaghan Oracle DBA / Cold Fusion Developer MSC Industrial Direct Co., Inc. Melville, NY [EMAIL PROTECTED] http://www.mscdirect.com - This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by replying to the e-mail. Please then delete the e-mail and destroy any ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Find in-coming form fields
When a form is submitted CF provides a variable, FieldNames, which includes a comma-separated list of all the form fields. You could do something like this if you wanted to find out what you were getting: cfloop list=#fieldnames# index=curfield cfoutput b#curfield#/b - #Evaluate(form.#curfield#)#br /cfoutput /cfloop C. Hatton Humphrey, Developer Fisher, Towne Associates 716-839-2141 x336 [EMAIL PROTECTED] -Original Message- From: Steven Monaghan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 10:34 AM To: CF-Talk Subject: Find in-coming form fields I have a situation where I need to accept a form, but I don't know the names of the form fields that are set. I can't access the posting form, since it's hidden in someone else's app, so I can't find the names that way. I want to build a simple page where I can accept the post, then dump out all of the values in memory into an e-mail. I looked at the CFDUMP tag, but that requires the variable name. I'm new to Cold Fusion, so please indulge me if this is a simple task. Thanks for any help, Steve - Steven Monaghan Oracle DBA / Cold Fusion Developer MSC Industrial Direct Co., Inc. Melville, NY [EMAIL PROTECTED] http://www.mscdirect.com - This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by replying to the e-mail. Please then delete the e-mail and destroy any ~~ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Find in-coming form fields
CFDUMP VAR=#form# - Original Message - From: Steven Monaghan [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, September 24, 2001 9:33 AM Subject: Find in-coming form fields I have a situation where I need to accept a form, but I don't know the names of the form fields that are set. I can't access the posting form, since it's hidden in someone else's app, so I can't find the names that way. I want to build a simple page where I can accept the post, then dump out all of the values in memory into an e-mail. I looked at the CFDUMP tag, but that requires the variable name. I'm new to Cold Fusion, so please indulge me if this is a simple task. Thanks for any help, Steve - Steven Monaghan Oracle DBA / Cold Fusion Developer MSC Industrial Direct Co., Inc. Melville, NY [EMAIL PROTECTED] http://www.mscdirect.com - This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by replying to the e-mail. Please then delete the e-mail and destroy any ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists