1

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?

Sparky
  • 98,165
  • 25
  • 199
  • 285
bcm
  • 5,470
  • 10
  • 59
  • 92

1 Answers1

1

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?

Community
  • 1
  • 1
bcm
  • 5,470
  • 10
  • 59
  • 92