1

Is there a way or I want a plugin that allows showing Terms and Conditions and Privacy and Policies showing Separate checkboxes so Customers have to check both checkboxes and complete the registration.

I have Magento CE 2.1.11 installed may need to change theme couple of times on the request of client so setting it into theme might not be a good idea.

1 Answer 1

3

data-validate="{required:true}" will do the trick

<div class="field choice newsletter">
        <label for="custom-terms" class="label"><span><?php /* @escapeNotVerified */ echo __('Do you agree ?') ?></span></label>
        <input type="checkbox" data-validate="{required:true}" name="custom-terms" title="<?php /* @escapeNotVerified */ echo __('Terms and contitions') ?>" id="register-input-custom" class="checkbox">
    </div>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.