View Full Version : How to add the word 'Password' in the password field?
Marvin Hlavac
07-13-2010, 12:46 PM
How can I place the word 'Password' in the password field the same way that 'User Name' is already in the username field?
I'm using vBulletin 3.8.
Any help would be much appreciated.
Przemoo
07-13-2010, 12:56 PM
did you try it like that ?
<input type="text" class="inp" size="8" name="vb_login_password" id="navbar_password" size="10" tabindex="102" value="Password" onfocus="if (this.value == 'Password') this.value = '';" />
BSMedia
07-13-2010, 01:11 PM
I dont think you can, it'll just show as ********
Przemoo
07-13-2010, 01:16 PM
I dont think you can, it'll just show as ********
if input type is "password" it'll show as ****** but if is "text" will show as word
Marvin Hlavac
07-13-2010, 03:24 PM
Przemoo, thanks. It works as you've described. The word 'Password' is shown in the password field. However, when I type my password into the password field, the password is visible there as text, instead of as ******.
In the new vB4 (and on many other websites, too), the word 'Password' is shown in the password field, but the user's input is shown as ********.
Would this be possible to accomplish in vB3.8 somehow?
Thanks very much for your time!
BirdOPrey5
07-13-2010, 06:47 PM
After viewing the page souce of a vb4 site it looks like a fairly complicated use of javescript and the yahoo dom to produce it, not a trivial change.
Marvin Hlavac
07-13-2010, 07:57 PM
BirdOPray5, thanks for looking into it. I wouldn't want to add an unnecessary java script to my site. I'm just trying to simplify the look of my site. My intention was to remove the words Username/Password from in front of the two respective fields, if a simple modification would allow for the word 'Password' to be placed within the field. I'm not happy with the password to appear as text as the user types it, so I will abandon this idea. Instead, I may consider removing the username/password fields from the header completely, and instead create an external log in page, and keep only a log in link in the navbar. I think I've seen a mod that does this somewhere.
Thanks everyone for your help.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.