ZF-12146: No way to clear _messages array

Issue Type: Bug Created: 2012-04-10T21:07:48.000+0000 Last Updated: 2012-04-10T21:07:48.000+0000 Status: Open Fix version(s): Reporter: Glen Solsberry (glens) Assignee: Christian Albrecht (alab) Tags: - Zend_Form

  • Zend_Form_Element

Related issues: Attachments:


Zend_Form_Element supports clearing Decorators, Filters, ErrorMessages, and Validators. It does not, however, support clearing Messages. To make it so that no error message is displayed for an invalid field, Validators, ErrorMessages, and Messages all need to be cleared.

I'd like support for Zend_Form_Element::clearMessages() that simply resets the $this->_messages array to empty.


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.