Skip to main content
Coat of arms of Barbados
Official government website

Name

Ask for a name using separate fields, and only the parts the service needs.

Preview

Name

Ask for a name with a separate labelled field for each part: title, first name, middle name(s) and last name. Show only the parts the service actually needs — drop the title or middle name if you will not use them.

When to use this pattern

Use it whenever you need to record or match a person's name, such as on an application or against an official record. If you only need to greet the user, a single "Full name" field is enough.

Fields and hints

Give the middle name field the hint "If you have more than one, add them in order" so people with several middle names know what to do. Use the title select only when a record needs it — many services do not.

Other names

Where a service needs to know about previous or alternative names, add a "Have you been known by any other name?" radio question and reveal the extra name fields only when the user answers "Yes". Do not show fields the user does not need.

Attributes

Set autocomplete to given-name, additional-name and family-name so the browser can fill saved values, and spellcheck="false" so names are not flagged. Keep validation loose: accept spaces, hyphens, apostrophes and accented characters.