EUCA-7876

added proper validation and error message for name field.