How to show an validation error if there is no checkbox selected in the form on my CakePHP? -


I have a simplified form with multiple checkboxes and I want to know how if I do not have a checkbox selected Can I show the error? Just check the values ​​returned to that action, which are stored in the head $$ -> array. And do not call the Save () function until you manually validate it.


Comments