validateName

Validate name string. Can be used for outer validation without setting in user profile data.

Name may contain only letters, spaces, and symbols ', `, - and .. And it may not be blank (e.g. contain only whitespaces).

Return

true if name contains only letters, spaces, and symbols ', `, - and .

Parameters

name

first or last name string