prevent text value in radio and checkbox fields