added radiobutton validation