| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Server Side Redirect Problem, sws |
|---|---|
| Next by Date: | Re: Advanced Form Query, Dan Bracuk |
| Previous by Thread: | How do you cancel an html cfgrid request after it is sent., BrianO |
| Next by Thread: | Re: Advanced Form Query, Dan Bracuk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |