Validation with messages in repetitive way