[Resolved] Email Address with dot in address line invalid
It appears that any address containing a dot in the address causes Contact Form 7 to report Email address seems invalid. For example:
Using lastest update of Contact Form 7.
The “email@example.com” should be valid and Contact Form 7 does accept it. It might be something interfering the validation process. Try deactivating all other plugins and switching to the default theme.
It seems to be inconsistent across websites. On some, it works, on others, it doesn’t. However on http://www.pbaofyorkcounty.com/contact-us/ it does not even with all of the plugins turned off except Contact Form 7 and Really Simple CAPTCHA. Same plugins installed as on other sites.
Uninstalled Contact Form 7 and deleted files. Reinstalled Contact Form 7 … and same thing.
I hate the thoughts of turning to another contact form when I have been using this plugin for a long time.
How about theme? Have you tried switching theme to the default one?
I tested the form at the link you provided. I am getting “Email address seems invalid” for all email addresses. I don’t believe the problem is related to emails “containing a dot in the address ” as you suggest.
Thanks, I really appreciate you helping me with this.
Thank you ever so much for your help.
I guess this just isn’t my lucky day. No errors or conflicts are reported in Firebug.
Using the Chrome developers tools, I do see errors, but those errors are no different from other sites where CF7 is working correctly.
I have reactivated the origninal theme so the overall site works until I get this resolved. Since it doesn’t matter whether I have a default theme activated or not.
ALL Plugins have still been deactivated and I have removed FB from the site.
What do you suggest next?
I tested yours, as I use CF7 and have never had a problem with emails with dots.
It did not work with either of my emails, one with the dot, and the other without.
There is one difference between what we have in the code though:
I use name=”your-email”, your is only name=”email”
No idea if that would be the problem though.
‘<p>Your Email (required)
<span class=”wpcf7-form-control-wrap email”><input type=”email” name=”email” value=”” size=”40″ class=”wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email” aria-required=”true” /></span> </p>’
‘<p>Your Email (required)
<span class=”wpcf7-form-control-wrap your-email”><input type=”email” name=”your-email” value=”” size=”40″ class=”wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email” aria-required=”true” /></span> </p>’
I changed “email” back to the default “your-email”. Same issue, email address invalid.
- The topic ‘[Resolved] Email Address with dot in address line invalid’ is closed to new replies.