Displays your Terms & Conditions to users who want to register, and requires that they accept the T&C before their registration is accepted.
If T&Cs are changed users with an existing account will be asked to accept the new version, and will not be able to log in until they have.
Terms & Conditions can be displayed as styled text, or in a scroll box.
Features
Account Integration
T&Cs are included on user account edit forms.
T&Cs Page
Automatically creates a T&Cs page at /legal.
Auditing
Each acceptance of the T&Cs is recorded. The information is displayed on the Legal administration pages (requires Views module).
Additional Checkboxes
Additional checkboxes can be added which must be accepted, e.g. [X ] I am over 18
Explanation Notes
Notes can be added to each version of the T&Cs explaining the changes that have been made, these are displayed to users who are asked to accept new versions of the T&Cs (if they accepted a previous version).
Internationalisation
Each version of the T&Cs can now be translated into whatever languages the site is set up for.
Versions & Revisions
Versions
Creating a new version will ask all users to accept the new T&Cs, and keep a record of which version/language/revision was accepted and when it was accepted.
Revisions
Every translation can have as many revisions as necessary, with each version + language having it's own revision audit.
When a revision is made only users that have previously accepted the T&Cs in that language, and new users, are asked to accept the new T&Cs. This is intended for improvements to the translation rather than changes to the actual terms and conditions being offered.
Views
Integrates with Views, and ships with default Views for T&Cs history, and Users that have accepted - as they're Views you can customise to your requirements.
Tokens
Tokens can be used in T&C text.
Legal token [legal:tc] can be used to display current T&C text.
Rules
Integration with Rules.
Add On Modules
- Integration with Ubercart via the Ubercart Legal Integration module
- Integration with Services via the Services Legal module.
Masquerade
Integration with Masquerade module so you can masquerade as a user without having to accept T&Cs.
Please Note
T&C text should only be entered by administrators or other highly trusted users. filter_xss_admin() is used to filter content for display, this is a very permissive XSS/HTML filter intended for admin-only use.
Release 4.0.x
Provides improved compatibility with Single Sign On services and avoids the need to log the user out until they have accepted T&Cs. See detailed description for more information.
As 4.0.x is a major change to the behavior and architecture of the Legal module so it will go through a cautious release process over the next few months. If SSO is important to your project please test this release thoroughly and give feedback to speed up the process for a full release.
Many thanks for developing this aproach to John Franklin at Sentai Digital, Bixal for Bixal, YCE at Pronovix for BrightCove, oumaymaAkh, Radelson at WebstanZ, gilles_webstanz at WebstanZ for WebstanZ, pierreemmanuel, carlopogus at Doghouse Agency, fadoua-ga
Sponsors
- Drupal 5 to Drupal 6 Upgrade: Lullabot
- Internationalization features: Webwise Solutions
- ...have a feature you'd like to sponsor? Get in touch
Support
If you've found this module particularly useful and want to say thank you, there's a wide range of stuff I'd welcome on my wish list (UK) (US).
Development
Developed by Robert Castelo for Code Positive.
Image Attribution
Illustration image generated by Hotpot AI
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Access control
4,292 sites report using this module
- Created by robert castelo on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 4.0.x-dev updated 13 Jul 2025 at 20:38 UTC


