# Change custom text before it is shown based on user attributes

**URL:** <https://community.auth0.com/t/change-custom-text-before-it-is-shown-based-on-user-attributes/130605>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [March 27, 2024, 10:16am UTC](https://community.auth0.com/t/change-custom-text-before-it-is-shown-based-on-user-attributes/130605 "2024-03-27T10:16:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jean-marc.kiener](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jean-marc.kiener/32/60175_2.png) [@jean-marc.kiener](https://community.auth0.com/u/jean-marc.kiener)\
**Post date:** [March 27, 2024, 10:16am UTC](https://community.auth0.com/t/change-custom-text-before-it-is-shown-based-on-user-attributes/130605/1 "2024-03-27T10:16:40Z")

</div>

How and where can i programmaticly change the custom text “description” on the “mfa-otp” prompt before it is shown?  
I should show another text, based on user defined properties in the user object.

---

<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:** [March 29, 2024, 5:40pm UTC](https://community.auth0.com/t/change-custom-text-before-it-is-shown-based-on-user-attributes/130605/2 "2024-03-29T17:40:40Z")

</div>

Hi @jean-marc.kiener

Welcome to the Auth0 Community!

Thank you for posting your question. The described flow can be achieved using Universal Login Page Templates with conditions from the Liquid templates language. You will be able to conditional change prompts of the views. You can read more about it here → [https://auth0.com/docs/customize/login-pages/universal-login/customize-templates](https://auth0.com/docs/customize/login-pages/universal-login/customize-templates).

I hope this will help you  
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:** [April 12, 2024, 5:40pm UTC](https://community.auth0.com/t/change-custom-text-before-it-is-shown-based-on-user-attributes/130605/3 "2024-04-12T17:40:45Z")

</div>

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