Hi, I´m reading the Cake´s Manual of 1.2 Version and I have a doubt...
Are the followind ways of validate the same?

1)    'login' => VALID_NOT_EMPTY,

2)    'login' => array(
                'rule' => 'ruleName',
                'required' => true,
                'allowEmpty' => false,
                'on' => null,
                'message' => 'Error message'
       ),

What I´m trying to learn is if VALID_NOT_EMPTY is the same that
'required' to true and 'allowEmpty' to false.

Thanks.

Martin Bavio


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to