You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We actually don't want to completely validation the domain name on the client side to take advantage of mailgun's "Did you mean?" feature to help the user correct their input, otherwise the built in browser email validation in the HTML5 Validation API would be a nice optimization to the script.
Safari currently doesn't actually display the validation message to the user when it blocks the form submission: http://caniuse.com/#feat=form-validation
Until that is resolved it is probably best to not use setCustomValidity() to avoid displaying two error messages to the user.
It might make sense to use HTML5 constraint validation, in particular setCustomValidity().
See https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Constraint_API's_element.setCustomValidity()
The text was updated successfully, but these errors were encountered: