I changed the default value of my checkbox field to '0' in the init()
function of the *Record.cfc file (it had been set to 1). That works...

thanks for the help... :)

On a side note, that means that the check box cant be checked by
default the first time that object is displayed... which leads me to
think that there must be an other way to achieve the same result by
doing something when the form's values are 'cast' into the Record (if
form field called 'loop' has no value then set it to '0') .... but
between MachII and Reactor I'm having difficulty seeing where this
could be done (any ideas?)

Etienne



On 7/18/07, Brian Kotek <[EMAIL PROTECTED]> wrote:
I don't think that will work, because an unchecked checkbox field isn't just
empty, it is not present in the form scope at all.

On 7/18/07, Dinner <[EMAIL PROTECTED]> wrote:
> On 7/17/07, etienne deleflie < [EMAIL PROTECTED]> wrote:
>
> > 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.
>
> Val(checkboxfield)
>
> if the field is empty, it would become 0, if it had 1, it would be 1
>
> Something like that...
>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
> 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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to