I've tried the Evaluate() example you provided but now I'm getting an error that my variable is undefined.
This is the code I've been using for testing... <cfparam name="thisOtherThing" type="numeric" default="1"> <cfset thisOtherThing=Evaluate("qty_adjust#theid#.current_qty.value")> <form name="qty_adjust#theid#" action="#cgi.script_name#?co=enable&action=recalc" method="post"> <input size="1" type="Text" value="#thisOtherThing#" name="current_qty" /> Thanks for the help, Phil On Tue, Mar 11, 2008 at 11:42 AM, Dominic Watson <[EMAIL PROTECTED]> wrote: > I think this problem stems from CF syntax being too loose with regards its # > symbols which leads to misunderstanding and confusion. > > If you want to set someVariable to the value pointed to by the variable > someForm234 you could do: > <cfset someVariable = Evaluate("someform#ID#")> or <cfset someVariable = > variables["someForm#ID#"]> > > If you want to set someVariable to the literal string "someForm234". You > should do: > <cfset someVariable = "someForm#ID#"> or <cfset someVariable = "someForm" & > ID> > > Does anyone else agree that <cfset someVariable = #ID#> should be invalid > syntax? > > > HTH > > Dominic > > -- > Blog it up: http://fusion.dominicwatson.co.uk > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300971 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4