Users receiving 'email is not valid' error when submitting form
Hi there! We've been getting reports that certain users are receiving an 'email is not valid' error when attempting to register for an event through a form on our website.
I'm not sure what could be causing the issue, as everything seems to be working fine on my end, so I wanted to reach out to this community and see if anyone had any ideas.
We're using Contour. I suspect it's an issue with the regex, but the errors have been pretty random and widespread, so I can't pinpoint a specific issue that's prevalent in all of the non-valid email addresses so far.
Can you post the regex you are using? It could be as simple as some users having short emails (e.g., [email protected]) or emails with unexpected TLD's (e.g., [email protected]).
Also, do you have a screenshot from the users?
Does the error appear to be field-specific (e.g., with a validation message below an email field) or form-specific (e.g., an error message appearing after the form fails to submit)?
Yeah, that regex definitely has some issues (e.g., doesn't account for some characters: https://en.wikipedia.org/wiki/%C3%83). I'd recommend loosening it up to something like this:
Users receiving 'email is not valid' error when submitting form
Hi there! We've been getting reports that certain users are receiving an 'email is not valid' error when attempting to register for an event through a form on our website.
I'm not sure what could be causing the issue, as everything seems to be working fine on my end, so I wanted to reach out to this community and see if anyone had any ideas.
We're using umbraco 6.1.6. Thanks!
Are you using Umbraco Forms or Contour (or other) for your registration form?
We're using Contour. I suspect it's an issue with the regex, but the errors have been pretty random and widespread, so I can't pinpoint a specific issue that's prevalent in all of the non-valid email addresses so far.
Can you post the regex you are using? It could be as simple as some users having short emails (e.g., [email protected]) or emails with unexpected TLD's (e.g., [email protected]).
Also, do you have a screenshot from the users?
Does the error appear to be field-specific (e.g., with a validation message below an email field) or form-specific (e.g., an error message appearing after the form fails to submit)?
I just inherited the website from the person that was previously in my position, and they had the regex set as:
I don't have any screenshots from users, but it's after the form has failed to submit.
Thank you!
Yeah, that regex definitely has some issues (e.g., doesn't account for some characters: https://en.wikipedia.org/wiki/%C3%83). I'd recommend loosening it up to something like this:
Thank you! I'll give it a try and see if we get any results.
is working on a reply...