Adding my folder

an empty string, undefined, and null all evaluate to false in JavaScript, but your code only handles the case where an empty string is the input.  If I input undefined it will confuse your function. Maybe you can use the !FirstName syntax we talked about to solve this problem.