• Resolved ninjasforhire

    (@ninjasforhire)


    Hi,

    We’re using an email type field but the validation does not stop a user from adding an email address as me@com

    We’re on version 1.3.9

Viewing 1 replies (of 1 total)
  • Plugin Author Wombat Plugins

    (@maartenbelmans)

    Hi @ninjasforhire

    Our plugin adds a form element of type email, but it’s actually your browser that has built-in validation for this field type, which is triggered when Add to Cart is clicked. If you go to any other page with an email field and try the same, you’ll see such an odd email address will also pass. This further implies our plugin is not the culprit of this behavior.

    While it is uncommon, an email address like me@com is actually a valid email address as described by the Internet Engineering Task Force (IETF) in RFC822. That’s why the browser will allow this email address to pass.

    I agree it’s an uncommon email address though, but we have no say in how the browser validates it. We can add it on our to-do list to investigate what can be done.

Viewing 1 replies (of 1 total)

The topic ‘Email validation’ is closed to new replies.