You can add a div by adding an htmlTag decorator to your form:
class MyForm extends Zend_Form
{
    public function init()
    {
        /* ... */
        $this->addDecorator('htmlTag', array('tag' => 'div'));
    }
}

--
Hector


2009/10/22 sNop <[email protected]>

> Hi,
>
> i want to wrap my form in div, how do i do it ?
>
> I need something like this:
> <div>
>  <form>
>  </form>
> </div>
>
> It's possible this wihtout writing my own decorator ?
>
> Thank you for advices
>
>

Reply via email to