Validations for title existence and length created with error messages.