validation for entry title