add validation messages for position field