3
I’m trying to use Bootstrap Validator in the checkbox fields, but I don’t know how to do it. Is there a function in this library that does this or should I do the validation in pure JS?
Code:
<div class="form-check">
<div class="checkbox">
<label for="ingles" class="form-check-label">
<input type="checkbox" id="ingles" name="idioma" value="ingles" class="form-check-input">Inglês
</label>
</div>
<div class="checkbox">
<label for="espanhol" class="form-check-label ">
<input type="checkbox" id="espanhol" name="idioma" value="espanhol" class="form-check-input">Espanhol
</label>
</div>
</div>