User agreement checkbox for signup page

Feature Request: User agreement checkbox for signup page

  • This has come up multiple times with my clients. We need to be able to easily get T&C acknowledgments on signup (ideally), rather than once they’re in the app.
  • I know this can be done with custom code, but it would be really helpful for all those who aren’t able to hack it together to be able to have a simple checkbox that you can enable for the signup screen. Then, the user would have a markdown textbox they can populate with hyperlinked agreements, for example.
  • This solution is simple developmentally, because Noloco only needs to give us the ability to add a checkbox in the signup page, along with a markdown textbox we can write inside of (linking to an external policy or agreement).
  • To see what I’m describing, check out the screenshot of Glide below.

2 Likes

I perfectly agree with you @buildwithjoel, the possibility to add terms and conditions without workaround scripting would be highly appreciated!

1 Like

Here is a script that provides the desired functionality:

<script>
setInterval(() => {
    for (const parent of document.querySelectorAll("button")) {
        for (const child of parent.childNodes) {
            if (child.data === "Sign up") {
                if (!parent.dataset.termsAppended) {
                    const info = document.createElement("p");
                    info.innerHTML = `
                        <small style="display:block; margin-top:10px; text-align:center; font-size: 12px; color:#555;">
                            By registering you agree to our
                            <a href="https://www.yourlink.com" target="_blank" style="color:#007bff;">Privacy policy</a>
                            and
                            <a href="https://www.yourlink.com" target="_blank" style="color:#007bff;">Terms and conditions</a>
                            zu.
                        </small>
                    `;
                    parent.insertAdjacentElement("afterend", info);
                    parent.dataset.termsAppended = "true";
                }
            }
        }
    }
}, 250);
</script>

2 Likes

Hey @buildwithjoel and @JCW thanks for this interesting request!

Just to get a sense of when this is necessary, is this when public-sign up is enabled, or for when your existing user list are accepting their invitation?

Typically, when it’s only for logging in, you’ve already got their email from somewhere, and at that point they’ve accepted the terms and conditions (like signing a contract before getting access to a client portal)

Hello Darragh, yes this is needed when public sign-in is enabled. Example would be that Noloco serves as a customer portal where new customers can also sign-up without being in touch with the company upfront.