WHAT’S MY NAME?
BRIAN TEEMAN
PHP USERGROUP LEEDS
WHAT’S MY NAME?
https://tee.mn/name
BRIAN TEEMAN
‣ CO-FOUNDER
JOOMLA!
‣ HERE FOR THE BEER
‣ ALWAYS A GEEK
‣ IN THE 90’S I MADE
CD-ROMS
‣ @BRIANTEEMAN
1997 - FIRST UK ADDRESS CD
REMEMBER THESE?
ACCOUNT OWNER ONLY
ELECTORAL ROLL
SHIP IT ALL TO CHINA
1997 - FIRST UK ADDRESS CD
THEY CLAIMED IT WAS
ILLEGAL BUT COULDN’T FIND A
LAW THAT IT BROKE
Brian Teeman 2017
PHP LEEDSUSERGROUP
I’M A DATA GEEK
WE BUILD WEB SITES & FORMS
WE NEED YOUR NAME
SO WHAT'S THE PROBLEM?
Capturing a person’s name
• Click to edit
Master text
styles
• Click to edit
Master text
styles
WHY DO YOU NEED MY NAME?
FRIENDLY GREETINGS
DIRECTORIES AND LISTINGS
WHAT'S MY NAME?
Björk Guðmundsdóttir
Given name & patronymic
Given name You call her:
• Björk
• Björk Guðmundsdóttir
First name Last name
Father’s name
B
WHAT'S MY NAME?
Different order of parts
First name Last name
You call him:
• Mr Hung
• Mr Dinh
• Hung
• Dinh
Hung Dinh
Given name Family Name
WHAT'S MY NAME?
María-Jose Carreño Quiñones
Multiple family names
Given name
Family name

from Mother
You call her:
• Señorita Carreño
Family name

from Father
Antonio Carreño Rodríguez
María Quiñones Marqués
de
First name Last name
Spanish family names would have the order paternal+maternal, 

Portuguese names in Brazil would be maternal+paternal
C
WHAT'S MY NAME?
Non Latin Characters
First name Last name
Nicholas Διονυσόπουλος
The'ohneeso'poolosh
Dionissopoulos
Dionysopoulos
ELOT standardisation
WHAT'S MY NAME?
Middle Initials
First name Last name
First name Last nameInitial
Brian TeemanBrian G. J. Teeman
WHAT'S MY NAME?
Only Initials
First name Last name
Initial Last nameInitial
J.R. Ewing
WHAT'S MY NAME?
First Initial
First name Last name
First name Last nameInitial
J. Edgar Hoover
WHAT'S MY NAME?
tussenvoegsels
First name Last name
Robin van Persie
First name Last nameInsertion
You call him:
• meneer Van Persie
• Robin van Persie
P All different in Belgium
WHAT'S MY NAME?
Edison Arantes do Nascimento
Nicknames and such
First name Last name
You call him:
• Pelé
WHAT'S MY NAME?
Capitalisations and Case
First name Last name
Don’t assume all names are capitalized
French often use all caps for family name
Napoleon BonaparteNapoleon BONAPARTE
WHAT'S MY NAME?
Capitalisations and Case
First name Last name
Ewan MacgegorEwan MacGregorEwan MCregorEwan McgregorEwan McGregor
Don’t assume all names are capitalized
French often use all caps for family name
WHAT'S MY NAME?
Single name
First name Last name
Wookey
Last name
IT'S COMPLICATED
WHAT SHOULD YOU DO?
Recommendations…
• Ask yourself whether you really need to have
separate fields for given name and family
name
• Let the user decide how to write their name
• Make input fields long enough to enter long
names.
TO SPLIT OR NOT
Recommendations…
• Make the fields optional not everyone has both
• Avoid using the labels ‘first name’ and ‘last
name’.
HOW TO SPLIT
Recommendations…
• Let the user decide.
SORTING
Recommendations…
• Make the fields optional not everyone uses a
title
• Only use it if you need it and it is relevant
• Maybe you need to have a pre and post name.
TITLES
Recommendations…
• Ask separately how that person would like to be
called
• Separate formal name and common name
(nickname)
• Don’t assume the parts of the name
• Varying expectations of formality around the world.
WHAT’S YOUR NAME
Recommendations…
• Don’t capitalise a name leave it as entered
• Don’t restrict to Alpha - allow space and dash
• Don’t restrict to ASCII 128 - allow extended
• Don’t make all fields required
• Don’t have a minimum or maximum character count.
INPUT RULES
Recommendations…
• If you hope to get Latin or ASCII-only, you need to say
so.
LANGUAGE
Recommendations…
• Are you collecting the person’s name just to
have an identifier in your system?
• Do you plan to call them by name in their
language but track them in your back-office in
a language such as English
• You may want to ask for a Latin transcription.
LANGUAGE 2
INVALID NAME?
LET ME ENTER MY CORRECT
NAME NOT SOMETHING THAT
PASSES YOUR CHECKS.
Brian Teeman 2017
PHP LEEDSUSERGROUP
WHY DO YOU NEED IT?
IF YOU DO NEED IT THINK
ABOUT WHAT YOU ARE GOING
TO DO WITH IT.
Brian Teeman 2017
PHP SERGROUPU LEEDS
MORE INFO
Falsehoods Programmers
Believe About Names
http://goo.gl/AJuNW1
Personal names
around the world
http://goo.gl/3GTZeA
THANK YOU

What's My Name