Saturday, July 4, 2009

Re: Form Validation: Opposite of EqualTo (NotEqualTo, Does Not Equal)

http://book.cakephp.org/view/139/comparison

-j.

On Jul 2, 5:13 pm, hoyos <andrew.hatte...@gmail.com> wrote:
> Hey,
>
> Simple question, is there a built-in form validation function to
> validate that a field DOES NOT EQUAL a certain value?
>
> For example: 'password' => array( 'rule' => array('notEqualTo',
> 'password'), 'message'=>'Please choose a more unique password.');
>
> Thanks,
> Andy
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: