showing results for - "jquery validate conditional"
Johanna
14 May 2016
1$("#client-form").validate({
2  focusInvalid: false,
3  ignore: [],
4  rules: {
5    salaryband: {
6      required: function(element) {
7        return $('#job-earnings-salary').is(':checked')
8      }
9    }
10  }
11});