validate message notBlank and maxLength