Jump to content

Why do most register forms have "First name" & "Last name" why not "Full Name" ?


TeddyKiller

Recommended Posts

The reason for this is to make sure they fill in both their first- and lastname and not just their firstname. It all depends on your business requirements if first- and last name is important for your requirements than it's best to ask them separatly

 

To expand on this, let's say my name is Joe Bobbleman. If a company wants to address me informally in an email they could be like "Hey Joe look what we have for you!", but of they wanted to be formal "Dear Mr. Bobbleman,"Of course emails aren't the only place this can happen, you can use your imagination :)

Link to comment
Share on other sites

The reason for this is to make sure they fill in both their first- and lastname and not just their firstname. It all depends on your business requirements if first- and last name is important for your requirements than it's best to ask them separatly

 

To expand on this, let's say my name is Joe Bobbleman. If a company wants to address me informally in an email they could be like "Hey Joe look what we have for you!", but of they wanted to be formal "Dear Mr. Bobbleman,"Of course emails aren't the only place this can happen, you can use your imagination :)

 

Actually they would be able to do that in both cases ofcourse in the case of fullname you would need to add some more function calls to your query and you never know if they user gave a lastname in the first place but possible never the less :)

Link to comment
Share on other sites

I have a double barrel name.

It's rather annoying because some websites put an hyphen as an illegal character.

 

So.. I have to write in Jean Luc for a first name. Sometimes spaces can't be used too. So it comes out as Jeanluc.

So.. I guess in some cases I have 2 first names?

Link to comment
Share on other sites

Do you know anyone who has 2 first names?

 

I have two (three if counting one I got on confirmation).

 

Also remember that different cultures have different customs as to whether first name should be written before or after last name. Japanese for example write their last name before first.

Link to comment
Share on other sites

Always assumed this has something to do with database design. 

 

Generally speaking you want each attribute(column) to represent atomic values so it'll be easier to query and find relevant data. 

 

Ex: Finding everyone with the first name "Bill" but not "Clinton", etc.

 

Link to comment
Share on other sites

As stated, there is no reason why they have two text field's instead of the one apart from it make's it easier that running a validation on the one field to check if they have entered two or more word's however this can get complicated with different name's and Language's, where have a seperate Input for each part of the name only requires minimal validation, and secuirty checks.

Link to comment
Share on other sites

he is putting that question because he is french and prob his name is something like jean luc "marosie" luc and marosie should go on the same row not on different rows. if the website you are building is strictly for france then go by the rules there(but it will affect the others) or go with standard ones.. First Name, Last Name and maybe include Middle Name or something like that.

Link to comment
Share on other sites

In many cases, these names will get imported into programs such as MS Outlook, which will separate First and Last Name.  When you import these names, the required format will have the names separated.

 

In other cases, you might want to generate usernames based on the name: Cloud Strife will be cstrife1.  It's not always correct to have regular expressions separate the names out because in the end, it's still a best guess.

If you separate the fields, it's the user's responsibility to get their name correctly.  If you take in full name and guess which name is first and last, that will be your responsibility.  It's better to have the user to take on that responsibility; they're used to it anyway.  There's a cultural difference in how we write names.  In the US, we write FirstName LastName.  In some other countries, they write LastName Firstname.

Link to comment
Share on other sites

In many cases, these names will get imported into programs such as MS Outlook, which will separate First and Last Name.  When you import these names, the required format will have the names separated.

 

In other cases, you might want to generate usernames based on the name: Cloud Strife will be cstrife1.  It's not always correct to have regular expressions separate the names out because in the end, it's still a best guess.

If you separate the fields, it's the user's responsibility to get their name correctly.  If you take in full name and guess which name is first and last, that will be your responsibility.  It's better to have the user to take on that responsibility; they're used to it anyway.  There's a cultural difference in how we write names.  In the US, we write FirstName LastName.  In some other countries, they write LastName Firstname.

 

yeah it depends a lot when you talk about region and sometimes is good to think about what public will enter that website from what countrys stuff like that.. or aim for one region.. etc. best choice is to use international stuff

Link to comment
Share on other sites

  • 1 month later...

Sorry for posting in an old topic, I think the issue here is with crappy developers being too lazy to actually use PHP in a way that makes it less work for the end-user, but even sites like Facebook do the same thing, it's mostly because of what they're use to, I can understand Facebook because they do a lot of things socially with last names and it would save time(less code written) in their future apps.

But if you use a code like this it doesn't matter:

 

<?php
//Say Tohno Robert William Shefford is posted
$name = (isset($_POST['name'])) ? htmlspecialchars($_POST['name'], ENT_QUOTES) : NULL;
if ($name != NULL) {
$data = explode(" ", $name);
//Getting numbers of array pieces
$rows = count($data,0) - 1;
$lname = $data[$rows]; // This means it grabs the last portion.
echo 'Hello, Mr.' . $lname;
}
else echo 'No name given';
?>

Returns: "Hello, Mr.Shefford"

Link to comment
Share on other sites

Not only by him but also, as it was pointed out before, by Japanese.

Well Japanese is actually easier (I have learn-japanese manuals), the manual I have lists all known last names in Japan, or ones most commonly used, some how you can parse through a database to see which names match it.

But that's a whole lot more to do then just adding another column to your db. So it's possible, just not logical, reliable and makes more db requests than needed lol

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.