Wednesday, March 31, 2010

Re: Validating not in list

I would go with the custom validation, as you suggested!
Enjoy,
John

On Mar 30, 10:19 pm, Bart <vangeneug...@gmail.com> wrote:
> Hello,
>
> I'm trying to build an application that is User based.
> However, I want to reserve some nicknames so you can't register them.
>
> When going over the validation rules, I findhttp://book.cakephp.org/view/1171/inList
> Which is basically what I need, but negated.
>
> Is there a way to say something like "not inList". Or just any way to
> negate that statement?
> Or should I just define a function for it?
>
> Thanks,
> Bart

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 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

To unsubscribe, reply using "remove me" as the subject.

No comments: