You don't say what's wrong, but from these lines:
<cfif chk_deletePage#count# neq ''>
<cfdump var='#form.chk_deletePage#i##'
</cfif>
I'm guessing it's throwing an error?
<cfif FORM["chk_deletePage#count#"] neq ''>
<cfdump var="#FORM['chk_deletePage' & count']#">
</cfif>
Adrian
> -----Original Message-----
> From: Priya Koya [mailto:[email protected]]
> Sent: 28 April 2009 16:26
> To: cf-talk
> Subject: Unable to dump checkbox Values
>
>
> 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:322020
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4