-- Kexiao Liao <[EMAIL PROTECTED]> wrote
(on Tuesday, 11 March 2008, 11:07 AM -0700):
> I switched ZendFramework from 1.0.3 to 1.5.0RC1, the following formCheckbox
> can not save the the checkbox data into the database table? On 1.0.3 it
> works pretty well.
>
> <?= $this->formCheckbox("complete",
> $this->escape($this->mainContents->complete),array('onChange' =>
> "change(document.main);"),array(0 =>'true', 1=>'false')) ?>
Please try from svn trunk, and read the docs in svn trunk regarding the
formCheckbox helper (found in
documentation/manual/en/module_specs/Zend_View_Helpers.xml, IIRC); I've
made some significant improvements to it in the past week.
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/