# Clear password text box on submit

**URL:** <https://forum.kirupa.com/t/clear-password-text-box-on-submit/67320>\
**Category:** programming\
**Created:** [October 14, 2004, 5:06pm UTC](https://forum.kirupa.com/t/clear-password-text-box-on-submit/67320 "2004-10-14T17:06:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [October 14, 2004, 5:06pm UTC](https://forum.kirupa.com/t/clear-password-text-box-on-submit/67320/1 "2004-10-14T17:06:46Z")

</div>

I have an intranet page with a link to a coldfusion/sql server based project log. When one clicks on the link the first cfm page is a login page. When the user hits the submit button the first page of the project log opens in a new window (and hence, subsequent pages of the project log).

The problem is that the password remains behind in the parent window. Is there any code I can include that says clear the text field when the user hits the submit button?

:hr:
