I have a create form to create an object. The create model has some properties that are only visible (.hide, .show()) if a checkbox is checked and that are marked required (
Unobstrusive validation looks for this attribute data-val="true"
data-val="true"
I guess, that if you do a $('#mycheckbox').data('val','false'), the validation will skip a item with that id.
$('#mycheckbox').data('val','false')
Probably there is a more appropriate way to do it, but if not, take this.
cheers.