I added a extra checkbox on register page, for
terms and conditions, and i want to make it mandatory/required when i press on "create account" button.
this is my code:
<div class="register-button-custom"> <label for="button">Do you agree?<a href="https://www.w3schools.com" >terms</a> <input type="checkbox" class="checkbox required-entry" id="register-input-custom" /> </label> </div>
I already added this class for checkbox :
checkbox required-entry but it's not working.
Does anyone have any idea how to make this checkbox mandatory?