Validation - Email

This pattern helps ensure users input their emails in a recognizable format.

Use Cases

Emails are required for tasks that involve communication. They are used as a way of responding to inquries, sending confirmations, and updates or marketing information. Emails should always be validated.

How it works

Emails are validated by checking the following:

  • entries must include the "@" sign
  • entries must end in a "." followed by text

Tips

Inform users how their email will be used

If an email is being requested for a non-essential purpose such as marketing, be clear on what kind of communication will be sent to the user and how their email information will be used.

Ensure the email field works for everyone

Accomodate up to 256 characters in the email field. This is the longest an email address can be.