Currently I am using a bootstrap validator for input/select fields. What I can't seem to do is turn off the validator for certain inputs. I've tried:
<form id="accordion">
<input name="name" id="name" novalidate />
</form>
$('#accordion').validate({
rules: {
name: {
required: false
}
},
fields: {
name: {
required: false,
validators: {
required: false
}
}
}
})
None of these worked. I also tried adding "novalidate" and "formnovalidate" to the individual input's but that didn't work either. What am I doing wrong?