# What is the best way to add a consent checkbox in universal ui?

**URL:** <https://community.auth0.com/t/what-is-the-best-way-to-add-a-consent-checkbox-in-universal-ui/168016>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [January 9, 2025, 11:26am UTC](https://community.auth0.com/t/what-is-the-best-way-to-add-a-consent-checkbox-in-universal-ui/168016 "2025-01-09T11:26:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecosyslab-user](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ecosyslab-user/32/67710_2.png) [@ecosyslab-user](https://community.auth0.com/u/ecosyslab-user)\
**Post date:** [January 9, 2025, 11:26am UTC](https://community.auth0.com/t/what-is-the-best-way-to-add-a-consent-checkbox-in-universal-ui/168016/1 "2025-01-09T11:26:01Z")

</div>

Hey,

This question has been asked a few times already but I didn’t get the answers I needed. My goal is to add a TOS consent checkbox to a universal login ui (not the classic one). I have tried everything from using the local customization editor to using altering the classic ui. My last bet would be to just use a custom template, alter the functionality of the submit button in the register ui using a query selector and then only allowing submission if the checkbox has been checked - but that just doesn’t feel right hence why I am wondering if there are some official ways of adding that simple functionality.

Best

---

<div class="post-metadata">

**Author:** ![sumansaurav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sumansaurav/32/70627_2.png) [@sumansaurav](https://community.auth0.com/u/sumansaurav)\
**Post date:** [January 9, 2025, 3:43pm UTC](https://community.auth0.com/t/what-is-the-best-way-to-add-a-consent-checkbox-in-universal-ui/168016/3 "2025-01-09T15:43:28Z")

</div>

You can utilize custom sign up and Login prompts to display consent checkbox.

> **[Customize Signup and Login Prompts](https://auth0.com/docs/customize/login-pages/universal-login/customize-signup-and-login-prompts)**
>
> Learn how to customize signup and login prompts for Universal Login

You can also refer to this thread and scroll down to all the way to bottom for more context.

> [@Terms checkbox for New Universal Login](https://community.auth0.com/t/terms-checkbox-for-new-universal-login/76932/35):
>
> Hey @dan.woda , We finally decided to implement consent using this page: [GDPR: Track Consent with Custom UI](https://auth0.com/docs/secure/data-privacy-and-compliance/gdpr/gdpr-track-consent-with-custom-ui#option-4-redirect-to-another-page). This took some time, but works for us and also works with the new login and social sign in.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [January 16, 2025, 1:49pm UTC](https://community.auth0.com/t/what-is-the-best-way-to-add-a-consent-checkbox-in-universal-ui/168016/4 "2025-01-16T13:49:29Z")

</div>

Hi @ecosyslab-user

Welcome to the Auth0 Community!

I recommend trying our feature Forms with a prebuilt template for policy acceptance. You can check this here → [Custom Policies Acceptance Template](https://developer.auth0.com/resources/templates/forms/custom-policies-acceptance)

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 30, 2025, 1:49pm UTC](https://community.auth0.com/t/what-is-the-best-way-to-add-a-consent-checkbox-in-universal-ui/168016/5 "2025-01-30T13:49:34Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
