$('#webForm').validate({
rules : {
chos: {
required : true,
},
},
messages : {
chos: "Please select radio button" ,
},
});
});
<input type="radio" name="chos" value="phone"/>
<input type="radio" name="chos" value="email"/>
The above code is not working. I need radio buttton validation for the above code.