Monday, August 31, 2009

Validation question

I need to add a custom validation rule but cant quite figure out how to do it.
 
The field being validated has to be unique specific to the user. So User1 can use 'foo' , User2 can use 'foo' but each user cannot use 'foo' twice.
 
What would be the best way to handle something like this?
 
Dave

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