Re: [fw-general] Custom Decorators (buildErrors empty)

2011-03-24 Thread Hector Virgen
On Thu, Mar 24, 2011 at 11:33 AM, My Lists wrote: > $element->getMessages(), returns empty. $element->getMessages() will be empty unless the element's value is invalid. Are you validating the form (or element) and passing in a known invalid value? -- *Hector Virgen* Sr. Web Developer http://ww

[fw-general] Custom Decorators (buildErrors empty)

2011-03-24 Thread My Lists
Hello i'm using a custom decorator based on this example: http://framework.zend.com/manual/en/zend.form.decorators.html However i can't retrieve the errors message in the following function: public function buildErrors() { $element = $this->getElement(); $messages =