Tag Archives: Zend

Zend_Form: How to set message for NotEmpty when setRequired(true)

When, in a subclass of Zend_Form, a Zend_Form_Element is setRequired(true) it automatically adds a NotEmpty validator using the default message. To override the default message add a NotEmpty validator at the top of the list of validators and set breakChainOnFailure … Continue reading

Posted in Programming | Tagged | Leave a comment