for radio button validation