minimub title length validation and custom message