password field

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kippy
Forum Commoner
Posts: 84
Joined: Wed Jun 07, 2006 8:25 pm

password field

Post by kippy »

Is there a way to set the password field asterisks to display a set length, for example 5 or 6 asterisks, regardless of the actual length of the password? Any help is appreciated.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

That would generally be a no.
kippy
Forum Commoner
Posts: 84
Joined: Wed Jun 07, 2006 8:25 pm

Post by kippy »

is that based on the language? I have seen this in webmail programs...that display a password field with say 5 asterisks, yet the password can actually be 3 characters long....either way..thanks!
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

kippy wrote:is that based on the language? I have seen this in webmail programs...that display a password field with say 5 asterisks, yet the password can actually be 3 characters long....either way..thanks!

Def a no in php, Javascript on the other hand? possibly.
Post Reply