Trying to figure out why my recipient multiselect isn\'t validating on form submission. Should be atleast 1 person chosen. I have it set to be required true but yet its stil
The accepted answer doesn't work anymore. The problem is that the "getChecked" argument doesn't do anything anymore. Here is an updated, working version of the validation method
$.validator.addMethod("needsSelection", function (value, element) {
var count = $(element).find('option:selected').length;
return count > 0;
})