RE: convert this cfscript back to tag?

2009-12-10 Thread DURETTE, STEVEN J (ATTASIAIT)
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

Re: convert this cfscript back to tag?

2009-12-10 Thread Steve Bryant
cfloop list=#form.whatToUpdate# index=tempVal cfset Form.ID = tempVal!--- Option ID --- cfset Form.newRank = Form[rank_#tempVal#] /cfloop ~| Want to reach the ColdFusion community with something they want? Let

Re: convert this cfscript back to tag?

2009-12-10 Thread s. isaac dealey
cfloop index=i from=1 to=#listlen(form.whattoUpdate)# cfset tempVal = listgetat(form.whatToUpdate,i,,) / cfset form.ID = tempVal / cfset form.newRank = form[rank_ tempVal] / /cfloop -- s. isaac dealey :: AutLabs Creating meaningful employment for people with Autism

RE: convert this cfscript back to tag?

2009-12-10 Thread Dave Phillips
Glyn, cfloop from=1 to=#listLen(form.whatToUpdate)# index=i cfset tempVal = listGetAt(form.whatToUpdate,i) cfset form.ID = tempval !--- Option ID --- cfset form.newRank = form[rank_ tempVal] /cfloop Hope this helps! Dave Phillips -Original Message- From: Glyn Jackson

RE: convert this cfscript back to tag?

2009-12-10 Thread Mark Kruger
Ok... But why? Other than the pound signs it seems fine to me... Except that form.ID will always be the last item in the list once you are done with the loop. cfloop list=#form.whattoupdate# index=tempval cfset form.id = tempval/ cfset form.newRank = form[rank_ tempval]/

re: convert this cfscript back to tag?

2009-12-10 Thread Jason Fisher
cfloop list=#form.whatToUpdate# index=i cfset form.ID = i / cfset form.newRank = form[rank_ i ] / /cfloop ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion