Just add ignore: [],
in Your form validation function. It will enable hidden field validation.So You will get validation for Select 2
$("#ContactForm").validate({
ignore: [],
rules: {
//Rules
},
messages: {
//messages
}
});
More Related Contents:
- select2 and jquery validation not working properly
- jQuery validate: How to add a rule for regular expression validation?
- Validate that end date is greater than start date with jQuery
- jQuery Validation Plugin – adding rules that apply to multiple fields
- jQuery Validate array input element which is created dynamically
- Using JQuery Validate Plugin to validate multiple form fields with identical names
- jQuery validator and a custom rule that uses AJAX
- jQuery form validation on button click
- jQuery validate dynamic input array
- Unobtrusive validation in Chrome won’t validate with dd/mm/yyyy
- Reset select2 value and show placeholder
- jQuery Validate plugin – password check – minimum requirements – Regex
- How can we specify rules for jQuery validation plugin by class?
- override jquery validate plugin email address validation
- how to test Recaptcha with jQuery Validate plugin
- jQuery Validation – Two fields, only required to fill in one
- jQuery Validation plugin won’t validate when in click event handler of
- Limit number of characters in input field
- Validate dynamic field jquery
- Ignore all hidden div but not one in jQuery validation
- JQuery Validate multiple fields with one error
- jQuery validator plugin + ajax submitting not working
- Validating array inputs using jquery validation plugin
- Using bootstrap select2 with JqGrid form
- MVC 4 client side validation not working
- jQuery validator and datepicker click not validating
- Select2: How to prevent tags sorting
- jquery validation not waiting for remote validation to return true, considers form valid
- How to include JavaScript files by h:outputScript? [duplicate]
- How to Set Selected value in Multi-Value Select in Jquery-Select2.?