Did you do:

$this->view->form = $form;

in the controller?


Regards,

Jason Murray


On Tue, Jan 13, 2009 at 3:29 PM, jlevy <[email protected]> wrote:

>
> form setup in my controller can't be any simpler:
>
> $form = new Zend_Form();
>
> $form->setName('oscarMayer');
>
> // set action, method, etc etc etc etc
>
> and in my view:
>
> <?= $this->form ?>
>
> I should have:
> <form name="oscarMayer" id="oscarMayer" action="..." method="..." enc ....
> blah.
>
> But I don't. There's no name attribute. It's missing. What gives?
>
> ZF1.7.2
> --
> View this message in context:
> http://www.nabble.com/Maybe-I%27m-Missing-Something----Or-is-Zend_Form--tp21443838p21443838.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to