Please correct this... not 'count' but 'i' <cfif chk_deletePage#i# neq ''>
> Hi All, > > I have a checkbox in the <cfoutput query> and wanna record the values > of the checkbox and perform of delete using function. > > I am unable to dump the checkbox values in it.I believe I am doing > someting wrong in the loop..Can anyone help me out with it. > > <cfset count=1> > <cfoutput query='Qry_getInfo'> > <table> > <tr> > <td><cfinput type="checkbox" value="#getData.Name#" > name="chk_deletePage#count#"></td> > <cfparam default="" name="form.chk_deletePage#count#"> > > <td>#getData.Address#</td> > </tr> > <tr><cfinput type='submit'name='Submit'></tr> > </table> > > <cfif isDefined('form.Submit')> > <cfloop from="1" to="#count#" index="i"> > <cfif chk_deletePage#count# neq ''> > <cfdump var='#form.chk_deletePage#i##' > </cfif> > </cfloop> > </cfif> > > what is that I am doing wrong....???? > > Thanks, > Priya ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322019 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4