Question
index loop with form variables
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.
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.
