Add a T&C checkbox in the custom Reset password page

Hey!

My first post here :slight_smile:

I have a flow in which we create an Auth0 user account programmatically and send an email to the user to reset the password. I’d like to customize the Password Reset Page by adding a checkbox.

While this task seems easy, I’d like to prevent the user from setting the password (by disabling the submit button) if he/she doesn’t tick the checkbox. I can’t find any easy way to do this and the only idea I have is to find the button in js, disable it initially and then enable it once the T&C checkbox is ticked. Any better ideas?

Kind regards,
Daniel

Hi @daniel.gessler,

Welcome to the Auth0 Community!

I’m sorry to say, this isn’t going to be easily accomplished if you are using New Universal Login. We generally don’t recommend using JS to manipulate the prompt itself, including the buttons.

As an alternative, I can recommend using Redirect with Actions to redirect the user after the password reset and subsequent login.

Hope that helps!

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