Joo thx for help. Thx Joo and thx this website (I have found it today):
http://www.oplabo.com/article/12

I have created:
array( 'NotEmpty', true, array(
                    'messages' => array(
                       'isEmpty' => 'Name is required.'
                 ))),                            
array( 'StringLength', true, array(
                    'min' => 0,
                    'max' => 50,
                    'messages' => array(
                       'stringLengthTooLong' => 'Name is too long. Max
%max%.',
                        'stringLengthTooShort' => 'Name is too short. Min 
%min%.'
                 ))),


Padraic you always say about documentation - but in documentation wasn't
everything what is on this site: http://www.oplabo.com/article/12 .
For example in documentation:
http://framework.zend.com/manual/en/zend.validate.messages.html I don't see
Error Message Key which I needed.
-- 
View this message in context: 
http://www.nabble.com/error-messages-in-form-tp25524216p25528203.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to