Reputation: 93
i looking for a solution in Prestashop for correct E-Mail Input field format validation.
A normal email [email protected] will check for the @ symbol but not for domain dot(!) com.
So i can write into the checkout email field as guest: xyz@domain but the dot and com missing.
Somebody have some idea for that?
Thanks
Akos
Upvotes: 1
Views: 497
Reputation: 1612
The email validity check is handled in /classes/Validate.php into the
public static function isEmail($email)
{
}
method.
You can consider editing or overriding it to suit your needs.
Upvotes: 0