Hey Paul,

I'm trying this
>     var $validate = array(
>       'Role' => array(
>         'rule' => array('multiple', array('min'=>1)),
>         'message' => 'Select one or more roles'
>       )
>     );

And it's not checking to see that at least one box is checked.  Any
ideas?

In my case it's:
var $validate = array(
                'user_id' => array('numeric'),
                'title' => array('notempty'),
                'body' => array('notempty'),
                'Category' => array(
                        'rule' => array('multiple', array('min' => 1))
                ),
                'Scene' => array(
                        'rule' => array('multiple', array('min' => 1))
                )
        );

Any suggestions greatly appreciated.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to