# Clear input field after rest password

**URL:** <https://community.auth0.com/t/clear-input-field-after-rest-password/120621>\
**Category:** Get Help\
**Tags:** reset-password-prompt-new-experience, login-experience\
**Created:** [November 10, 2023, 9:52am UTC](https://community.auth0.com/t/clear-input-field-after-rest-password/120621 "2023-11-10T09:52:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aakashpawan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@aakashpawan](https://community.auth0.com/u/aakashpawan)\
**Post date:** [November 10, 2023, 9:52am UTC](https://community.auth0.com/t/clear-input-field-after-rest-password/120621/1 "2023-11-10T09:52:35Z")

</div>

When clicked on forgot password, The widget goes the forgot password page and shows an input field for email.  
When entered the email and going back and clicking on reset password again, The value inside the input field still remains. How to make the field empty

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 15, 2023, 4:45pm UTC](https://community.auth0.com/t/clear-input-field-after-rest-password/120621/3 "2023-11-15T16:45:41Z")

</div>

Hi @aakashpawan,

Welcome to the Auth0 Community!

Could you please provide a screenshot of the page you are describing?

---

<div class="post-metadata">

**Author:** ![aakashpawan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@aakashpawan](https://community.auth0.com/u/aakashpawan)\
**Post date:** [November 16, 2023, 4:43am UTC](https://community.auth0.com/t/clear-input-field-after-rest-password/120621/4 "2023-11-16T04:43:27Z")

</div>

Hello @dan.woda  
I am talking about this widget  
 ![Screenshot (1228)](https://global.discourse-cdn.com/auth0/original/3X/0/a/0a47e3b945bbe5f1dee43765cb9aa3dd5d68ed6a.png)  
When clicked on “Don’t remember your password”, The widget changes to Reset your Password mode.  
I have entered the email there.  
When I go back and click on “Don’t remember your password” again, The email still remains in the input field.  
 ![Screenshot (1227)](https://global.discourse-cdn.com/auth0/original/3X/0/f/0f768f7ad47ff22fa478b2553cd2925ef757907a.png)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 16, 2023, 7:56pm UTC](https://community.auth0.com/t/clear-input-field-after-rest-password/120621/5 "2023-11-16T19:56:03Z")

</div>

Hi @aakashpawan,

Welcome to the Auth0 Community!

It doesn’t look like there is a built-in [configuration option](https://auth0.com/docs/libraries/lock/lock-configuration) for that behavior. You may be able to figure out how to do it with some JS by using the [Customize Classic Universal Login Pages with Lock or SDK](https://auth0.com/docs/customize/universal-login-pages/universal-login-page-customization) settings.

Hope this helps!

---

<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:** [November 30, 2023, 7:56pm UTC](https://community.auth0.com/t/clear-input-field-after-rest-password/120621/6 "2023-11-30T19:56:56Z")

</div>

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