I don't see how this: <cfinput type="checkbox" label="Loop" name="loop" id="loop" value="1" checked="#animation.getloop()#"/>
Could ever pass a 0. Either it is going to pass a 1 (checked) or it is not going to pass the loop field at all (unchecked). On 7/17/07, Dinner <[EMAIL PROTECTED]> wrote:
On 7/17/07, etienne deleflie wrote: > somewhat. But when an HTML form is submitted with the checkbox value > unchecked, the change is not reflected in the database (although going > from unchecked to checked _does_ work). If you dump the form scope you'll see that checkbox fields are not passed unless they are checked. Add a hidden field by the same name with an empty value, and you should be in business. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [EMAIL PROTECTED] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [EMAIL PROTECTED] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
