try
#evaluate('form.name[#getids.id#]')#
-----Original Message-----
From: Bruce, Rodney (Contractor) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 2:15 PM
To: CF-Talk
Subject: Dynamic form fields
hello all
Hope you can help with a little problem.
I have on a field that is named using an id.
On the form I have:
<CFQUERY name="getids">
get ids
</CFQUERY>
<CFOUTPUT query="getids">
<INPUT type="text" name="name[#getids.id#]" value="#getids.id#">
</CFOUTPUT>
On the action page I have:
<CFQUERY name="getids">
get ids
</CFQUERY>
<CFOUTPUT>
#form.name[getids.id]#
</CFOUTPUT>
I get "error resolving parameter form.name.
I can see all my form fields listed in the debugging info at bottom of page.
i.e.
name[1] = 1
name[2] = 2
What am I missing?
Thanks all
Rodney
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.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