Quote:
Originally Posted by mamyte03
Hello,
Now if textfield are empty write default message.
How can I change this message, without creating a new class who extends Zend_Validate_Abstract?
|
If I understand you correctly, you want to have a localized error message for your textfield?
If so, you should use Zend_Translate.
This might be of interest for you:
Akra’s DevNotes Blog Archive Simple Zend_Form Example
See comment 24-26.
To get the error codes, you can use
in your view script.
/friedhelm