Ok, I solved my error issue--I just needed to remove the semicolon from the end 
of "onClick=form.submit();"--So now I have checkboxes that submit the form when 
checked inside of an HTML grid on CF8.

> I am working on the same thing right now.  I have success getting the 
> checkbox to show up. That much is no problem.  The way I am doing it 
> is by using QueryNew/QuerySetCell to create a query that I send back 
> to the CFGRID via binding to a CFC.  Here is how I am creating my 
> checkbox:
> 
> <CFSET QuerySetCell(searchResults, "test","Complete: <input 
> type=checkbox name=install_complete_date value=#dateformat(now(),
> "mm/dd/yyyy")#  onClick=form.submit();>)>
> 
> I want to set it up so that when the checkbox is checked, the form is 
> submitted automatically.  Unfortunately, when the checkbox is checked, 
> the form does submit, but I am getting a mysterious Error: The 
> submitted cfgrid form field is corrupt (name: 
> __CFGRID__CFFORM_1__FIRSTGRID value: __CFGRID__COLUMN__=ROW; 
> __CFGRID__DATA__=5; ... I have no idea what this is about or why its 
> happening.  Anyone have any guesses? 
> 
> I think I have alot to learn about CFGRID.
> 
> Thank you.
> 
> >I did get the checkbox to showup, however, it initally shows a "true" 
> or 
> >"false" in the column rather than a checkbox.  Upon clicking the cell 
> 
> >three times, a checkbox finally appears, and can then be changed 
> using 
> >ajax/cfc.
> >
> >I ended up doing a flash grid...i think this may be a bug with HTML 
> >bound grids. 
> >
> >Chris Martin
> >
> >
> >
> >Shy Boy wrote:
> >> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287947
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to