acceptance_as_validation: on error pushes away label
-
I have created a newsletter signup form where I only require an email input and a Privacy Policy acceptance checkbox. In order to allow my users to click on the checkbox label to accept it, I have wrapped the checkbox with a label tag and content like so:
<span class="newsletter__Accepts-Terms"><label>[acceptance acceptance-839] Ι have read and agree to the <a target="_blank">Privacy Policy</a></label></span>
Therefore I have the checkbox on the left hand side, and the label on the right hand side.
I also have enabled the acceptance_as_validation: on flag.
When a user tries to submit the form without having accepted the Privacy Policy, the expected error is thrown after the checkbox. That pushes the label to the right, and creates a “broken” effect.
https://ibb.co/ygpPcGJ
Is there a way to reposition the error both the checkbox and the label?Please advise.
- The topic ‘acceptance_as_validation: on error pushes away label’ is closed to new replies.