If you fill out the registration form and forget to check the accept box for the terms, nothing happens, no message, the user thinks the form is broken. For any "required" field there should be a message reminding the user they must check it to continue.
| Comment | File | Size | Author |
|---|
Issue fork terms_of_use-3346511
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ivnishHi!
I tested on fresh install (Drupal 9.5, terms_of_use 2.3)
I have a messages about required fields
Comment #3
omd commentedTry inserting a very lengthy terms & conditions text. I have quite a long text and the module wraps it in a closed expandable wrapper with the checkbox inside it. The checkbox for any additional questions added is outside this wrapper and clearly visible, where I think the "accept" checkbox should be as well, otherwise the "please fill out this field" text is hidden inside the closer wrapper.
Comment #4
ivnishOk, I'll check it
Comment #5
omd commentedI guess thinking more on this I could expand that wrapper with CSS overriding the default setup but many people many not think of that before they start using the module, until there are complaints about a registration for that seemingly won't submit for no reason, which is how I arrived at this issue.
Comment #6
omd commentedIt is nice for the long text to be in the wrapper though to keep the reg. form from being super long. It would be great if the checkbox could just be outside of that wrapper.
Comment #10
astonvictor commentedCreated and merged a new MR.
I was able to reproduce the issue with a long text. Probably, you had some additional CSS styles to smth else.
anyway, I added a wrapper to the text.