I've come across a similiar problem and I (technically) never found a
solution to it. You just can't reference a variable in a variable,
if that makes sense, the way you are implementing it here.
The problem I had was setting up a form that could edit multiple
rows in a table (all completely unrelated) with only one submit
button.
Although, this is untested, I think I did stumble onto the solution
a few weeks ago. I wish I could go back to my old application that
needed it.
[snip]
> <cfloop index="test" list="#FORM.fieldnames#" delimiters=",">
> #test# : #FORM.#test## <br>
> </cfloop>
>
> Yeah, but I can't. Any thoughts?
[snip]
Change the above code into something like this:
<cfloop index="test" list="#FORM.fieldnames#" delimiters=",">
<CFSET tempvariablename = "form." & #test#>
#test# : #tempvariablename# <br>
</cfloop>
And let me know if it works.. ;)
--
Jeff Houser
mailto:[EMAIL PROTECTED]
AIM: Reboog711 | ICQ: 5246969 | Phone: 860-229-2781
--
Author of Instant Cold Fusion 4.5
ISBN: 0-07-213238-8
Due out 3rd Quarter 2001
--
DotComIt, LLC
Computer Consultant specializing in database driven web data
ColdFusion, Lotus Notes/Domino
--
Half of the Alternative Folk Acoustic Duo called Far Cry Fly
http://www.farcryfly.com
http://www.mp3.com/FarCryFly
--
Does Everyone Think I'm a Cynical?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists