Adds template name special character validation

[#81525756]