This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Putting passwords into code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Putting passwords into code" Watch "Putting passwords into code" New topic
Author

Putting passwords into code

Donna Bachner
Ranch Hand

Joined: Oct 08, 2004
Posts: 109
How do you make a textbox print ***'s instead of what the user is typing? I am putting a password on a website and want to conceal it.
Pavan Keely
Ranch Hand

Joined: Jun 30, 2006
Posts: 62
Use password field.

<input type="password" name="passwordField" />


Pavan Keely<br /><a href="http://keelypavan.blogspot.com" target="_blank" rel="nofollow">http://keelypavan.blogspot.com</a>
Donna Bachner
Ranch Hand

Joined: Oct 08, 2004
Posts: 109
THANKS it works great!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Putting passwords into code