On Oct 19, 2009, at 10:41 AM, Dave Maharaj :: WidePixels.com wrote: > I have 'rule' => '/^[a-zA-Z]$/', to allow only letter characters but > it does not seem to be working. > Is there something wrong with this expression?
I think you need to specify how many characters you need. E.g. /^[a- zA-Z]+$/ for at least one alpha char. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---