Forget it, I got it. The problem was in the cfsets further up not working right.
Sorry to bother you guys, but thank you for helping me get started. -----Original Message----- From: Richard Colman [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 7:11 PM To: CF-Talk Subject: RE: MORE: Naming variables within a loop I am running MX, however both of these constructions throw an error: "Element confirmrestrictionsite1_1 is undefined in a Java object of type class coldfusion.runtime.VariableScope referenced as " There is also the general problem of how to specify the value of a variable when part of the variable name is also a variable, like <loop> <input ... Value="#('confirmrestrictionsite1_#primernum#')# ...> Which does not work BTW. Any ideas would be appreciated! -----Original Message----- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 6:54 PM To: CF-Talk Subject: RE: MORE: Naming variables within a loop <cfset VARIABLES["confirmrestrictionsite1_#primernum#"] = ucase(VARIABLES["confirmrestrictionsite1_#primernum#"])> or <cfset VARIABLES["confirmrestrictionsite1_" & primernum] = ucase(VARIABLES["confirmrestrictionsite1_" & primernum])> etc (assuming CFMX). -----Original Message----- From: Richard Colman [mailto:[EMAIL PROTECTED] Sent: Thursday, 9 June 2005 9:04 To: CF-Talk Subject: MORE: Naming variables within a loop Thank you. That part is working, but this is starting to give me a headache. How about: <cfset "confirmrestrictionsite1_#primernum#" = #ucase(confirmrestrictionsite1_primernum)#> Of which I have tried several variations ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209059 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

