macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

Advanced Form Query

Subject: Advanced Form Query
From: "theBeachBum" <webforumsuser@xxxxxxxxxxxxxx>
Date: Tue, 29 Jul 2008 17:09:48 +0000 (UTC)
Newsgroups: macromedia.coldfusion.advanced_techniques

Hi All,

 Need help w/ a form technique.

 If I have X number of check boxes that are created dynamically, from 1 to X.

 On submit, I want to check if the box is checked, and if it is checked perform 
an action.  I wrote the below but it's not working, need some help.

         <cfloop index="i" from="1" to="#query.recordcount#"> 

        <cfif #FORM.i# NEQ "">
             <cfquery datasource="#application.dsn#" name="action">
              XXX
             </cfquery>
           </cfif>

         </cfloop>


<Prev in Thread] Current Thread [Next in Thread>