Question

I'm using jQuery v1.9.1 and jQuery Validation Plugin - v1.11.1.

I have defined data-rule-required="true" on form items that are mandatory to set validation-required.

Somehow the validation always tries to validate the checkboxes when they are not required or are even explicitly set to not be required (data-rule-required="false"), only on IE8.

Every other browser are fine!

Anyone knows why or if there is a work-around?

Was it helpful?

Solution

Found out why (and worked out a fix)... because the data attributes did not end up on the actual input element.

Related: Why does ASP.Net RadioButton and CheckBox render inside a Span?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top