1.2.0.7296 RC2... But I have to updated to 1.2.8 now and it has
disappeared. Thanks!

On Thu, Sep 16, 2010 at 11:57 AM, Jeremy Burns | Class Outfit
<[email protected]> wrote:
> Which version of Cake are you on?
>
> Jeremy Burns
> Class Outfit
>
> [email protected]
> http://www.classoutfit.com
>
> On 16 Sep 2010, at 10:50, psybear83 wrote:
>
>> Hi everybody
>>
>> I wondered what's the difference between VALID_NOT_EMPTY and notEmpty?
>>
>> In my model, when I use
>>
>> 'loginRule-1' => array(
>>              'rule' => 'notEmpty',
>>              'message' => 'This information is mandatory',
>>              'last' => true
>>          ),
>> ...
>>
>> the rule doesn't work: independent whether I enter some information or
>> not, the error message is shown.
>>
>> But when I use
>>
>>      'name' => array(
>>          'loginRule-1' => array(
>>              'rule' => VALID_NOT_EMPTY,
>>              'message' => 'This information is mandatory',
>>              'last' => true
>>          ),
>> ...
>>
>> then everything works as expected.
>>
>> 1) What's the difference?
>> 2) Why does the notEmpty not work?
>>
>> Thanks a lot
>> Josh
>>
>> Check out the new CakePHP Questions site http://cakeqs.org and help others 
>> with their CakePHP related questions.
>>
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" 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
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" 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
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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