My register form needs two checkboxes that have to be checked in order for the form process to continue.
I haven’t been able to get this to work. Here are the two input fields. The state of each checkbox is retained after submitting the form, but checking both boxes and completing the rest of the form does not pass validation. In fact even removing the :required still does not register the user.
<label for="confirm_disclaimer">
<span class="input-centred">
<input type="checkbox" name="confirm_disclaimer:required" id="confirm_disclaimer" value="Y" [[!+confirm_disclaimer:FormItIsChecked=`Y`]] />Confirm that you have read and agree to our <a href="">Disclaimer</a>
[[!+error.confirm_disclaimer]]
</span></label>
<label for="confirm_privacy">
<span class="input-centred">
<input type="checkbox" name="confirm_privacy:required" id="confirm_privacy" value="Y" [[!+confirm_privacy:FormItIsChecked=`Y`]] />Confirm that you have read and agree to our <a href="">Privacy Policy</a>
[[!+error.confirm_privacy]]
</span></label>
Thanks in advance to anyone who can point me in the right direction.