Removing a decorator from Zend Form

Removing a decorator from Zend Form

Zend will ship its elements with tags of dd dt
But if you want to get only the element with out decorator being around it.
you can do:

        $this->addElement('text', 'you_element', array(
                ....
                'decorators' => array('viewHelper'),
                ....
        ));

But if you want to display errors along with the HTML format,
add errors in the decorators array

This should give you only the element that you can implement your own decorator around it

How to dynamically construct Backbone js collection url

What version of Zend am I running?

handling array inputs in zend. Passing inputs that are generated from javascript to zend controller

was not found in the haystack error for select element in zend

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*