Zend Form element display in group for some element.

I am trying for some time to use a forms some element in a div.But fail again again. But,suddenly this post help me a lot. Thanks to Zend Form display groups decorators example

Here I used some form element create dynamically in controller. For this reason I use this kind of code

                        $displayGroup, 'postfail', array('legend' => 'Gust Information')
                $postfail = $form->getDisplayGroup('postfail')

                    array('HtmlTag', array('tag' => 'div', 'id' => 'gestData')),


Here $form is a form object.


Tagged: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: