This is probably a silly question, but i could’t figure it out. I have the following:
array('email', 'email','message'=>'The email isn´t correct'),
What would this validation validate exactly? That the input text contains ‘@’ and a ‘.’ ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The validator uses a regular expression to validate the email.
For the specific expression it uses, look at the source. You can then use an online RegEx tool to quickly check if the regex matches any particular input.