validation on selecting from dropdown