This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
This field is not in the correct email format.
Started 16 years ago by ThomasK | 3 posts |
-
test+test@test.com
This field is not in the correct email format.Well i thought the adress was wrong too, but then i looked it up:
http://en.wikipedia.org/wiki/Email_address
"Conversely, many websites make the mistake of checking email addresses too strictly, rejecting addresses containing perfectly valid characters like + or / signs."Regards
Posted 16 years ago # -
Here is a fix. Edit your "includes/common-validator.php" file.
Search around line 210 and you'll find this:$regex = '/^[A-z0-9][\w.-]*@[A-z0-9][\w\-\.]*\.[A-z0-9]{2,6}$/';replace it with this one:
$regex = '/^[A-z0-9][\+\/\w.-]*@[A-z0-9][\w\-\.]*\.[A-z0-9]{2,6}$/';That should pass the "+" and "/" characters.
MachForm Founder
Posted 16 years ago # -
Thx for the fix - it works :)
Regards
Posted 16 years ago #
Reply
You must log in to post.
