When asking users for their email address, you should:
- make the field long enough
- make it clear why you’re asking
- help users to enter a valid email address
You may also need to check that users have access to the email account they give you.
When asking users for their email address, you should:
You may also need to check that users have access to the email account they give you.
<div class="form-group">
<label class="form-label form-label-bold form-label-large" for="email-address">Email address <span class="form-hint">So we can send you a receipt</span></label>
<input id="email-address" name="email-address" type="email" class="form-control">
</div>
A good rule of thumb is 30 characters.
Make it clear what the email address will be used for so that:
Help your users to enter a valid email address by:
type=“email”
attribute so that devices display the correct keyboardYou can also check for common misspellings of popular email providers (for example ‘homtail.com’ instead of ‘hotmail.com’). Warn users if you detect one, but allow them to proceed in case it’s a genuine email address.