# Getting Custom Text fields into Customize Login Page HTML?

**URL:** <https://community.auth0.com/t/getting-custom-text-fields-into-customize-login-page-html/101786>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [March 3, 2023, 11:10pm UTC](https://community.auth0.com/t/getting-custom-text-fields-into-customize-login-page-html/101786 "2023-03-03T23:10:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zivtech](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/zivtech/32/42744_2.png) [@zivtech](https://community.auth0.com/u/zivtech)\
**Post date:** [March 3, 2023, 11:10pm UTC](https://community.auth0.com/t/getting-custom-text-fields-into-customize-login-page-html/101786/1 "2023-03-03T23:10:15Z")

</div>

I need to force users to provide their first and last names on sign-up.

So I’m assuming that I need to enable Customize Login Page to provide `additionalSignUpFields`.

The problem is that I can’t seem to find a way to set Custom Text fields in the HTML. I need to add some text to the `description`.

- If I disable Customize Login Page, I can get the Custom Text fields, but no first and last names on sign-up.
- If I enable Customize Login Page, I can get the first and last names on sign-up, but no Custom Text fields

How can I can get both, the Custom Text fields and edit the `description`?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [March 4, 2023, 1:25am UTC](https://community.auth0.com/t/getting-custom-text-fields-into-customize-login-page-html/101786/3 "2023-03-04T01:25:58Z")

</div>

Hi @zivtech,

Welcome to the Auth0 Community!

Yes, that is correct. You will need to configure the `additionalSignUpFields` on the Classical Universal Login experience. It will not work with the New Universal Login experience.

> [@zivtech](#):
>
> How can I can get both, the Custom Text fields and edit the `description`?

First, I recommend checking [this FAQ](https://community.auth0.com/t/how-to-configure-additional-signup-fields-on-the-universal-login-page/82448) to learn more about configuring additional sign-up fields on the Classic Universal Login experience.

And then to edit the description, you can change the lock configuration object in the custom login page script, specifically the [`languageDictionary`](https://auth0.com/docs/libraries/lock/lock-configuration#languagedictionary-object-) for the [`signUp` object](https://github.com/auth0/lock/blob/master/src/i18n/en.js#:~:text=%7D%2C-,signUp,-%3A%20%7B).

Please let me know if you need further clarification or help.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![zivtech](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/zivtech/32/42744_2.png) [@zivtech](https://community.auth0.com/u/zivtech)\
**Post date:** [March 7, 2023, 9:46pm UTC](https://community.auth0.com/t/getting-custom-text-fields-into-customize-login-page-html/101786/4 "2023-03-07T21:46:40Z")

</div>

Makes sense, but I can’t get it to work, probably because it’s not clear how to do the formatting. This must be wrong, but how should it be written?

```auto
    var lock = new Auth0Lock(config.clientID, config.auth0Domain, {
      [...]
      signUp: {
        languageDictionary: {
          description: "Please login to use ABC."
        }
      }
      [...]
    }

```

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [March 7, 2023, 10:26pm UTC](https://community.auth0.com/t/getting-custom-text-fields-into-customize-login-page-html/101786/5 "2023-03-07T22:26:07Z")

</div>

Hi @zivtech,

Thank you for your reply.

I would like to correct my previous reply. With the Classic Universal Login experience, there isn’t a `description` on the signup page. For example:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/8/6/86baaba309e1ceb6774563117e017cb4138063f8.png)

Because of this, see [here](https://github.com/auth0/lock/blob/master/src/i18n/en.js) for the full list of callable values. I have attached an example usage below as well:

```auto
    var lock = new Auth0Lock(config.clientID, config.auth0Domain, {
      [...]
      languageDictionary: {
        signUpTitle: "Sign up"
      }
      [...]
    }

```

Could you please give it a try and let me know how this works for you?

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![zivtech](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/zivtech/32/42744_2.png) [@zivtech](https://community.auth0.com/u/zivtech)\
**Post date:** [March 9, 2023, 3:31pm UTC](https://community.auth0.com/t/getting-custom-text-fields-into-customize-login-page-html/101786/6 "2023-03-09T15:31:49Z")

</div>

I did what I could, having to stuff text where it doesn’t really belong. Will have to see if it’s sufficient for my client; they may not like it.

- A `description` field would have been perfect, but there isn’t one.
- `databaseSignUpInstructions` would have good too, but setting this one has no effect.
- `success` → `signUp` would also have been good, but this message never shows up. After submitting the sign-up form, the user is directed right back to the app.

How are these two above supposed to work?

Are there plans to make this stuff work with the New Universal Login experience?

Thanks.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [March 10, 2023, 12:54am UTC](https://community.auth0.com/t/getting-custom-text-fields-into-customize-login-page-html/101786/7 "2023-03-10T00:54:49Z")

</div>

Hi @zivtech,

Thank you for your response.

Allow me to offer one other alternative that may work for you. One workaround would be to use the New Universal Login experience for your application so that you can have a `description` field on the sign-up page that you can customize.

Then to collect the additional sign-up fields, you could redirect your users to a separate page that you host to collect this information. Once that is complete, you can resume the authentication flow and send the user back to the callback URL. This can be accomplished using [Redirect Actions](https://auth0.com/docs/actions/triggers/post-login/redirect-with-actions).

Ultimately, there isn’t a way to use both the `additionalSignUpFields` and `description` field features at the same time.

> [@zivtech](#):
>
> Are there plans to make this stuff work with the New Universal Login experience?

Yes! This is currently having high demand on our [Universal login / Hosted Signup pages - Allow custom fields](https://community.auth0.com/t/universal-login-hosted-signup-pages-allow-custom-fields/59855) feedback page. I recommend upvoting this request so that our engineers can prioritize it sooner for implementation.

I hope the explanation was clear!

Please let me know if you have any additional questions. I’d be happy to help!

Thanks,  
Rueben

---

<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:** [March 24, 2023, 12:55am UTC](https://community.auth0.com/t/getting-custom-text-fields-into-customize-login-page-html/101786/8 "2023-03-24T00:55:29Z")

</div>

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