DURETTE, STEVEN J (ATTASIAIT)
Thu, 10 Dec 2009 07:51:18 -0800
<cfloop list="#form.whatToUpdate#" delimiter="," index="Variables.i">
<cfset Variables.tempVal = Variables.i />
<cfset form.id = Variables.i />
<cfset form.newRank = form["rank_" & Variables.tempVal] />
</cfloop>
I think that's right... -----Original Message----- From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk] Sent: Thursday, December 10, 2009 9:43 AM To: cf-talk Subject: convert this cfscript back to tag? Hi all, could someone convert this cfscript back to tag? for(i=1;i lte listlen(#form.whatToUpdate#,",");i++){ tempVal = #listgetat(form.whatToUpdate,i,",")#; form.ID = #tempVal#; //Option ID form.newRank = form["rank_" & #tempVal#]; } thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329040 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4