3 Replies Latest reply on Apr 1, 2008 4:26 PM by Dan Bracuk

    index loop with form variables

    dazormiq12345
      I hope this has a really easy answer...

      I would like to run this through an index loop 1 to 58, but I can't make the checked understand the nested index variable.

      How can I write
      <cfloop index="i" from="1" to="58">
      <cfif #form.#i## EQ "on"> do this, do that </cfif>
      </cfloop>

      Any ideas are more than welcome.