add validation rule for name field