Added error message for blank name field but other data