title: Zend Form Validation set error messages
body: <p>I have setup a form along with filters and validators which seem to work correctly.</p>
  
  <p>However, I can not seem to get custom error messages to work.  So far I have tried.</p>
  
  <pre><code>$inputFilter-&gt;add(array(
              'name'     =&gt; 'message',
              'required' =&gt; TRUE,
              'filters'  =&gt; array(
                  array('name' =&gt; 'StripTags'),
                  array('name' =&gt; 'StringTrim'),
              ),
              'validators' =&gt; array(
                  array(
                      'name'    =&gt; 'NotEmpty',
                      'messages'  =&gt; array(
                          NotEmpty::IS_EMPTY =&gt; "You must specify your message",
                      ),
                  ),
              ),
          ));
  </code></pre>
  
  <p>All I get is the standard validation error message 'Value is required and can't be empty'</p>
  
  <p>Please can someone point me in the right direction, many thanks.</p>