Ok I've fixed it, the problem was actually a change to the formCheckbox view
helper which used to add a hidden element for when the checkbox was
unchecked. Now it's simply a checkbox so as far as ZFI is concerned it's not
been 'unchecked'.

To fix this I loop through the form data looking for the checkboxes and
setting them to an empty string or 0. Is there a better way to do this?

How else would you filter and validate a checkbox?

Thanks
Simon

-----
Simon Corless

http://www.ajb007.co.uk/
-- 
View this message in context: 
http://www.nabble.com/Zend_Filter_Input-Checkboxes-tp16609999p16647532.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to