getting values from form field
Hi, i'm working on an app now that using dynamically named text boxes. i need to know the name of the text box (which happens to be an ID value) and the value of that text box so i can loop through a query and set the ID to a new value. I can loop through the form fields list to get the ID, but how do i get the value once i know the ID. I tried looping with: cfloop index="i" list="#form.fieldnames#" cfoutput #i# = #Evaluate(i)# /cfoutput /cfloop but i just get the same value for the two. can anyone tell me how to do this? thanks. d ~~ 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
Evaluate Question
Can anyone tell me why the answer to this question is Hello Goodbye? What would the following CFML code output to a user? cfset Temp = "Hello" cfset x=SetVariable(Temp, "Goodbye") cfoutput #Temp# #Evaluate(Temp)# wouldn't it be Goodbye Goodbye since you're setting Temp to Goodbye before you output? thanks for any guidance. d ~~ 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
Copying Structures Exam Question - is this right?
Hello, the following question was asked: What would the following CFML code display to the user? cfset Temp=StructNew() cfset Temp["First"]=40 cfset Second=StructCopy(Temp) cfset Second["First"]=80 cfoutput #Evaluate(Second["First"] + Temp["First"])# /cfoutput my answer was 160, but according to the book, the answer is 120. I thought (and it says in Forta's book) that a copy of a structure is just a pointer to the original so that if you change the copy, you change the original. Am i missing something here? Can someone explain? Thanks for any help. d ~~ 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: Timed Pop-Up Question...
Hey Lee, here's a script for you: Untitled this is my web page... just change your timeout value to whatever you want it to be and then do the same for your message and you're all good. d -Original Message- From: Lee Fuller [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 11:28 AM To: CF-Talk Subject: SOT: Timed Pop-Up Question... Wondering if anyone has seen some javascript that would do this.. Or knows what it would take. Since session vars are set to timeout at specific intervals, I'm wondering how hard it would be (not being a Javascript guru) to set a timer upon execution of a template, that would pop-up at a specified number of minutes or seconds, so that we could warn the user that their session is about to timeout. Sure would keep our clients who like to sit at their screen and futz around with adding info over a 1 hours period from getting made cuz the changes they forgot they made 10 minutes ago are now going to be lost! Any ideas anyone? Lee ~~ 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
SOAP - was BOOKS for XML
I've heard talk of SOAP around the office but haven't had time to look into what it is. Can anyone give a quick overview of what it is and it's benefits. Thanks. d -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Since XML is a very broad topic, you might be more interested in a specific use of XML. There are plenty of books covering these more specific topics, such as SOAP. ~~ 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: Capitalize first characters
There's an example in an article that discusses User Defined Functions that does just what you want. You can find the article at http://www.sys-con.com/coldfusion/articleprint.cfm?id=270. HTH. d -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 10:21 AM To: CF-Talk Subject: Capitalize first characters Hi all, I'm just starting to learn coldfusion and I'm looking for a function or a way to capitalize the first character of words in a string. Can this be done? Can someone help me with this? Thanks ~~ 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
CF 5 Documentation for Exam
Hi folks, i'm looking for any documentation that might help me get familiar with the new CF functionality for the certification exam. i've looked on the allaire web site, but i couldn't find anything specific to how to use the new features and functionality (at least not anything that i thought would help with the exam). Does anyone know where i can find this info? thanks. d ~~ 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