-- iceangel89 <[email protected]> wrote
(on Saturday, 02 May 2009, 12:41 AM -0700):
> Matthew Weier O'Phinney-3 wrote:
> > $form->addElement('submit', 'submit', array(
> > 'ignore' => true,
> > 'required' => false,
> > 'decorators' => array(
> > 'ViewHelper',
> > ),
> > ));
> >
> > It sounds to me like you may benefit from my recent decorators
> > tutorials:
> >
> > http://short.ie/zfdecorators
> >
>
> hmm i read
> http://weierophinney.net/matthew/archives/215-Rendering-Zend_Form-decorators-individually.html#extended
> and found out that i cant just do a <?=$this->form ?> in my phtml. i must do
> render on each form element? like $this->form->name->render() ...?
No, even more simply:
echo $this->form->name;
--
Matthew Weier O'Phinney
Project Lead | [email protected]
Zend Framework | http://framework.zend.com/