Hey
> 'nonEmpty' => array(
>                'rule' => VALID_NOT_EMPTY
>                'required' => true,
>                'allowEmpty' => false,
>                'message' => 'You must to put something.'
>                )
>
 looks like you didnt' replace VALID_NOT_EMPTY ;)

here is what i use:
'field' => array(
'rule' => null,
 'allowEmpty' => false,
 'required' => true
)

'required' => false if you don't want the field to be required for all
saves

HTH
--
Marcin Domanski
tumble.kabturek.info
--~--~---------~--~----~------------~-------~--~----~
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