I forgot to mention I have lots of checkboxes for this view, so I can’t
determine which box the uncheck was triggered from because of the
From: [email protected]
[mailto:[email protected]] On Behalf Of Jonathan V.
Sent: Tuesday, October 17, 2006 11:03 PM
To: [email protected]
Subject: [Rails] Re: observe_field w/check_box (how do you capture
For one of my applications the observer passes “1” when it is checked
“undefined” when it isn’t. “undefined” should probably be “0”, but you
still tell whether or not it is checked.
On 10/18/06, Tate H. [email protected] wrote:
Hi: Does observe_field work w/check_box?
When a checkbox is checked, all works. When it is unchecked, I get
“undefined” for params[:option].