$("#client-form").validate({
focusInvalid: false,
ignore: [],
rules: {
salaryband: {
required: function(element) {
return $('#job-earnings-salary').is(':checked')
}
}
}
});
name : {
required : $("#id").val().length <= 0
},
zipcode : {
required : $("#id").val().length <= 0
},