-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

I have a form that the values for each field is populated as a result of
a database query.  One of the fields on the form is rendered as a
checkbox and the corresponding table column is a boolean.

When I pull in a "true" value from the database the reset() method of my
form sets the checkbox accordingly.

When the page is rendered the checkbox is set the way I expect.  So far,
so good.

Where the trouble comes in is if the field is unchecked which I thought
would set the value of the Boolean to "false."  It doesn't, it remains
as a true.

How do I implement behavior where if the checkbox is unchecked it sets
the corresponding property of the form to false?

- ----

Peter L. Berghold                   Unix Professional
[EMAIL PROTECTED]             AIM: redcowdawg YIM: blue_cowdawg
"Those who fail to learn from history are condemned to repeat it."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHeuK3UM9/01RIhaARAkOwAJ9uNnENpwIVb9XAl8bR26xKvfEgXwCfSKXM
Dwcd0MqGUCQ2O09XMgP+TMk=
=Qbl6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to