Set it too VALID_EMAIL As for other cases, you have to do custom multiple validations in your controller.
On 7 нояб, 09:22, Rajesh <[EMAIL PROTECTED]> wrote: > I am using CakePHP 1.1.17 and how do i perform multiple validation on > a single field. For example, an email field should not be empty and > should be a vaild email format. How do i set the rule in model and how > do i display the error on the html page. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
