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 '.' ?
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 tool like reFiddle to quickly check if the regex matches any particular input.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With