View previous topic :: View next topic |
Author |
Message |
raven
Joined: 31 Jan 2006 Posts: 41
|
Posted: Thu Feb 23, 2006 12:03 am Post subject: Pssword Box to Show Default Value? |
|
|
I am trying to get a password input to show a default value. I do not want it to show the actual text, but the hidden text with something like asteriks covering it up.
Is there a way to do this, or can it only default to being empty? _________________ Programmers do it in code |
|
Back to top |
|
|
administrator Site Admin
Joined: 01 Oct 2004 Posts: 183
|
Posted: Thu Feb 23, 2006 9:54 am Post subject: |
|
|
A password input field will always show ******* no matter what you type in there. _________________ Peter
ASP & ASP.NET Articles and Tutorials |
|
Back to top |
|
|
raven
Joined: 31 Jan 2006 Posts: 41
|
Posted: Thu Feb 23, 2006 5:34 pm Post subject: |
|
|
I understand that... But what if I want to pre-populate it.. Like the person is coming back to the site and I want the password to be filled in ahead of time but show the asteriks in the box.
I do not want the person to type the password in if I know it is them.
Maybe I am not clear on this. Having a hard time explaining what I want. _________________ Programmers do it in code |
|
Back to top |
|
|
Kurtis
Joined: 05 Mar 2006 Posts: 9
|
Posted: Wed Mar 22, 2006 7:27 pm Post subject: |
|
|
I know what you mean.
This has to do with sessions, not the box itself.
That's a very broad topic. In a nutshell, you can either use cookies or sessions (global) to remember passwords and automatically parse them in the textbox.
I suggest you read a little about sessions before trying this, as it's quite a difficult concept to grasp in practice. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|