Try this (not tested):

<input type="text" name="#id#_name" value="#form[id&'_name']#">


I've done this in earlier versions of CF as well

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103



Jim McAtee wrote:
> I read that in CF8 evaluate() should no longer be necessary.  If so, how 
> would you cleanly rewrite the code below without it?
>
> I have a table populated with form field corresponding with records in a 
> table, each idendified by record id.  Say I have the record ids in a list.
>
> <cfset idlist="32,8,11,45">
>
> <cfloop index="id" list="#idlist#">
>   <tr>
>     <td><input type="text" name="#id#_name" 
> value="#evaluate('form.#id#_name')#">
>     ...
>   </tr>
> </cfloop> 
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320719
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to