Re: Where do I put custom validators?

2006-06-13 Thread brandags
Thanks! That works great. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECT

Re: Where do I put custom validators?

2006-06-13 Thread AD7six
Hi Brandon, A good place is probably your app/config/bootstrap.php file. It will always be empty (I think) so you can safely leave it in place when you upgrade cake without worrying that you are missing a new constant/feature needed for the Cake core. Cheers, AD7six --~--~-~--~~-

Where do I put custom validators?

2006-06-13 Thread brandags
In cake/libs/validators.php there are four regular expressions for validators. I would love to add to this list, but know I'm not supposed to touch anything in the cake folder. How do I add more global validator regular expressions to my app? Thanks, Brandon --~--~-~--~~