It appears I was using an older version of ZF (1.9.1, specifically). This
issue was apparently fixed in v1.9.3 (<
http://framework.zend.com/issues/browse/ZF-7034>). Silly me.
On Tue, Dec 1, 2009 at 11:14 AM, Ryan Lange wrote:
> It looks like Zend_Filter_Input, for some reason, automatically run
It looks like Zend_Filter_Input, for some reason, automatically runs a
NotEmpty validator on every field. The message you're seeing is
Zend_Filter_Input's NOT_EMPTY_MESSAGE.
Setting the ALLOW_EMPTY meta command will get rid of it, but, of course,
won't run your own NotEmpty validator.
I haven't f
I could use some help figuring out how to override the default validation
error messages with my own. Consider this snippet, based on the example in
the docs:
$validators = array(
'month' => array(
'NotEmpty',
'Digits',
'messages' => array(
0 =>'my cust