validate selection and output error messages