Skip to main content

Names

Ask for names in parts​

We recognize that "names are hard".

However, in our experience, forms still expect that litigants will provide names in at least 2 parts: a last name (surname) and a first name (given name).

We settled on using 4 standard name parts:

Model "name" question:

What is your name?

First name:

Middle name (optional):

Last name:

Suffix: [Dropdown menu]

In some countries, names also commonly have a prefix. Add a prefix if needed in your country or culture.

---
id: person's name
sets:
- person.name.first
- person.name.last
question: |
Person's name
fields:
- code: |
person.name_fields()

Optional: omit suffix​

You may choose to omit the suffix field:

---
id: person's name
sets:
- person.name.first
- person.name.last
question: |
Person's name
fields:
- code: |
person.name_fields(show_suffix=False)

Use a single field to get the name of a business​

If the entity is a business, multiple name fields should be replaced with one name field.

Make the question dynamic if you are not sure.

---
id: person's name
sets:
- person.name.first
- person.name.last
question: |
Person's name
fields:
- code: |
person.name_fields(person_or_business="unsure")