ZF2 Captcha validation ignored when using an input filter
问题 I have a form in my ZF2 app with a CAPTCHA element as follows : $this->add(array( 'type' => 'Zend\Form\Element\Captcha', 'name' => 'captcha', 'attributes' => array( 'class'=>'form-control', ), 'options' => array( 'label' => 'Please verify you are human.', 'captcha' => array('class' => 'Dumb') ), )); I have an input filter attached to the form that validates the other elements in the form (name, email, message). When this is attached to the form the validation for the CAPTCHA field is ignored