Zend Framework Forms
Zend Framework Forms
Zend Framework Forms
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Error Reporting<br />
Now we need to get error messages into the<br />
form. First, we need to get the messages:<br />
• Manual validation: make them up as we go (not<br />
standardized, and thus not good for translation)<br />
• <strong>Zend</strong>_Validate: getMessages()<br />
• <strong>Zend</strong>_Filter_Input: getMessages() (each element<br />
returns an array of messages exactly as<br />
<strong>Zend</strong>_Validate would)<br />
5 Mar 2008<br />
| Page 11