Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text Box for Password

Status
Not open for further replies.

Jonathan123

Programmer
Jun 29, 2001
20
0
0
US
When I return to a login form it already has the password filled in from last time.
I tried clearing the Password on form load --- such that when I finish a Log in the form is unloaded and when I need a login the form is loaded and txtPassword.text="" and still no luck.
Any ideas?

 
You need to actually describe your problem in detail. Are you using Servlets, JSP pages, EJBs, Swing, or something else completely? Are you developing the application or are you maintaining code written by someone else? Where is the code? Show us what is happening and maybe someone can help. Wushutwist
 
You should put txtPassword.text="" when the form is unloaded not when the form is loaded. Most of the time, which I guess you did the same, you put it in the constructor and the constructor is ONLY called when you create an object of the class so it is not called the subsequent time.

Leon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top