I have set up validators for my Zend_Filter_Input and one of them is:
'accept' => array('NotEmpty', array('InArray', array('accept'))),

In my form I have field <input type="checkbox" name="accept" value="accept" />

Thing is that my form passes no matter if I check the checkbox or not.
It's probably because when it's not checked the $_POST['accept'] does
not even exist.

Is there any way to check it with Zend_Filter_Input or should I check
it by myself? (not that much work tho, just I like to have clear code
;)

-- 
Łukasz Wojciechowski

Reply via email to