I\'ve got the following problem. I wrote (based on the tutorial) a form validation. The text fields work just fine but the integer field behave odd.
This is my validator
Try using the Between validator:
$inputFilter->add($factory->createInput(array( 'name' => 'zip', 'required' => true, 'filters' => array( array('name' => 'Int'), ), 'validators' => array( array( 'name' => 'Between', 'options' => array( 'min' => 1, 'max' => 1000, ), ), ), )));