Re: [fw-general] Re: Zend_Form and Custom Error Messages

2010-11-11 Thread Gregory
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.

[fw-general] Re: Zend_Form and Custom Error Messages

2010-11-10 Thread Hector Virgen
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