ZF-2957: Zend_Form quick start incorrect
Description
In Zend_Form documentation, at 15.2.6:
if (!$form->isValid($_POST)) {
// Failed validation; redisplay form
$this->form = $form;
return $this->render('form');
}
I think it's:
if (!$form->isValid($_POST)) {
// Failed validation; redisplay form
$this->view->form = $form;
return $this->render('form');
}
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T13:17:34.000+0000
Scheduling for next mini release.
Posted by Matthew Weier O'Phinney (matthew) on 2008-05-05T10:56:02.000+0000
Resolved in trunk as of r9379.
Posted by Wil Sinclair (wil) on 2008-06-15T20:33:51.000+0000
Changing to comply with new IT coventions for components.