add a choice validator for selects