How to fix 'The input was not found in the haystack' in ZF2?
问题 I have an issue in my code which I can't resolve. I'm using Zend framework 2.4 and I wrote a form but as soon as I validate it, I got the error The input was not found in the haystack . This are the 3 input where I got the error: $this->add(array( 'name' => 'ACTIVITE1', 'type' => 'Zend\Form\Element\Select', 'required' => 'required', 'options' => array( 'value_options' => array( 'Choisir l\'activité' ), 'disable_inarray_validator' => false, ), 'attributes' => array( 'class' => 'form-control',