how can i validate dropdown list?