<cfloop collection="#form#" item="i"> <cfoutput>The value for : form.#i# is: #form[i]#<br></cfoutput> </cfloop>
-- ---------------------------- Massimo Foti [EMAIL PROTECTED] Team Macromedia Member ---------------------------- "Baskin, Dave" <[EMAIL PROTECTED]> wrote in message > 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. com/index.cfm?sidebar=lists ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

