Tuesday, March 30, 2010

Validating not in list

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 find http://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 from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: