> The 'allowEmpty' key should be assigned a boolean value.

Ah, thank you. That makes sense. So I've replaced this:

  var $validate = array(
    'name' => array(
      'required' => VALID_NOT_EMPTY
    )
  );

With this now:

  var $validate = array(
    'name' => array(
      array(
        'message' => 'required',
        'allowEmpty' => FALSE
      )
    )
  );

Is that right? (I know it technically works, I just want to make sure
I'm doing it the "proper" way).

Thank you,
Zoe.
--~--~---------~--~----~------------~-------~--~----~
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