Checkbox Validation

1 reply·opened Jun 8, 2019
S
supermanageJun 8, 2019

Hello I get this error TypeError: b is undefined when I add:

class="required" to checkbox.

<div class="col_full">
<div class="form-check">
<input class="form-check-input required" type="checkbox" id="privacyCheck">
<label class="form-check-label" for="privacyCheck">Privacy Policy</label>
</div>
</div>

<div class="col_full">
<div class="form-check">
<input class="form-check-input required" type="checkbox" id="termsCheck">
<label class="form-check-label" for="termsCheck">Terms and conditions</label>
</div>
</div>

How to solve?

S
supermanageJun 9, 2019

Never mind it requires a name attribute.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard