Ask a Question related to Macromedia ColdFusion, Design and Development.
-
choirellie #1
nesting output
I have a form with dynamically created fields -- something like:
name=status-#mem_id#
When I submit this form data to the template that processes it, I want to be
able to loop through the same query that created the form fields and refer to
the form field -- something like #FORM.status#QUERY.mem_id##. That of course
doesn't work. But I also tried
<CFOUTPUT>#FORM.status<CFOUTPUT>#query.mem_id#</CFOUTPUT>#</CFOUTPUT> and that
didn't work either.
I realize I could do something trickier using an array or two but was hoping
there would be a simpler way to just pop the value into the FORM variable.
Any ideas?
Ellie
choirellie Guest
-
Nesting floating <div>
is their a way to contain floating <div>? or an alternative solution? For example; if I wanted to create a 750pixels wide site centred in the... -
Nesting connections
I just installed 3.1 and one of the options is nested connections, I am not sure if I quite understand it so thought I would check the general... -
Nesting Component within MC
Hi, I have a movie where I am nested within two MC's ie first MC > second MC > Im here! I want to place a list component and xml connector within... -
Nesting & Grouping
Sorry if this appears a little basic, but could someone explain to me the difference between nesting and grouping objects? (if there is one). If... -
Nesting
It can be done, I know I have seen it, but for the heck I can't remember. Nesting the substitute function within a script. Here's what I have.... -
Knum #2
Re: nesting output
Have you tried useing the CF Function Evaluate. I think it would be writen
something like this... <cfset var=Evaluate('FORM.status.#QUERY.mem_id#]')> or
#Evaluate(FORM.status(QUERY.mem_id))# I think thats pretty close I may have
missed a dot or two... I'm alittle syntaxcally-tarded but check out
[url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/[/url]
wwhelp.htm?context=ColdFusion_Documentation&fi le=00000945.htm
Knum Guest
-
choirellie #3
Re: nesting output
Aha! Yes, using the eval function with a CFSET tag did the trick! Thanks! Your syntax was fine except for the square bracket which I think isn't needed.
Ellie
choirellie Guest



Reply With Quote

