title: ZF2 : Priority for Validators in InputFilter
body: <p>I have a validator on a form entry like this :</p>
  
  <pre><code>    $this-&gt;add(array(
          'name' =&gt; 'email',
          'required' =&gt; true,
          'filter' =&gt; array(
              'name' =&gt; 'StripTags',
          ),
          'validators' =&gt; array(
              array(
                  'name' =&gt; 'NotEmpty',
                  'options' =&gt; array(
                      'messages' =&gt; array(
                          \Zend\Validator\NotEmpty::IS_EMPTY =&gt; 'Veuillez renseigner une adresse e-mail.',
                      ),
                  ),
              ),                
              array(
                  'name' =&gt; 'StringLength',
                  'options' =&gt; array(
                      'encoding' =&gt; 'UTF-8',
                      'min' =&gt; 1,
                      'max' =&gt; 100,
                  ),
              ),
              array(
                  'name' =&gt; 'EmailAddress',
                  'options' =&gt; array(
                  ),
              ),
          ),
      ));
  </code></pre>
  
  <p>There's basicaly 3 validators on my input.
  The <code>NotEmpty</code>, the <code>StringLength</code>, and the <code>EmailAdress</code>.</p>
  
  <p>Is there any way to set a kind of priority between them ?
  Right now, if I submit an empty form, I get messages relative to those 3 validators, ie. :</p>
  
  <ul>
  <li>My input is empty.</li>
  <li>My string length is too short (thanks...)</li>
  <li>My input is not an email (thanks again...)</li>
  </ul>
  
  <p>Is there anyway to tell my validator to stop at the first failure ? (or at least to only print the 1st message).</p>