Doesn't element#addError suffice?
Sent from my iPhone
On Nov 10, 2010, at 5:54 PM, Hector Virgen djvir...@gmail.com wrote:
After looking into this a bit further, I found that the errors decorator
calls Zend_Form_Element#getMessages(), which simply returns the
$_messagesarray.
After looking into this a bit further, I found that the errors decorator
calls Zend_Form_Element#getMessages(), which simply returns the
$_messagesarray. Unfortunately, there's no way to clear that array
without calling
Zend_Form_Element#isValid(). When calling Zend_Form_Element#setErrors(), the