title: how to disable inArray validator forms in zend framework2
body: <p>i use this in my Form:</p>
  
  <pre><code>$this-&gt;add(array(     
      'type' =&gt; 'Zend\Form\Element\Select',       
      'name' =&gt; 'county',
      'registerInArrayValidator' =&gt; false,
      'attributes' =&gt;  array(
          'id' =&gt; 'county',                
          'options' =&gt; array(
              //'null'=&gt;'[Select county]',
          ),
      ),
      'options' =&gt; array(
          'label' =&gt; 'county',
      ),
  ));
  </code></pre>
  
  <p>and set value county field with js.
  after validation, i get error : haystack option is mandatory</p>