Yeah either some other code is still setting it to 1, or possibly you have a
default value in the Record (or Transfer Object) that is defaulting it to 1
and since no incoming field sets it, it stays at that default. That seems a
bit unlikely but I suppose it's possible. One option might be to check that
the field is present and if it is not then add it to the form scope and
force it to 0.

On 7/18/07, etienne deleflie <[EMAIL PROTECTED]> wrote:

On 7/18/07, Brian Kotek <[EMAIL PROTECTED]> wrote:
> 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).

yes, that's very true ... so if the field name is not included in the
posted HttpRequest then it should automatically be set to 0.

hmmm ... that has nothing to with Reactor does it? ... I have to work
out what processes the cfform and modifies the Reactor record ... and
automatically set the value to 0.

Etienne

Etienne


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to