dadamssg Posted April 17, 2009 Share Posted April 17, 2009 how do i put 'Password' in a password text field?? if i set the value to 'password' it puts those dots....which i want when the user inputs theirs but i want it to say password in the field first. <input type='password' name='fpassword' size='15' maxlength='15'> Quote Link to comment https://forums.phpfreaks.com/topic/154526-value-in-a-password-text-field/ Share on other sites More sharing options...
mtoynbee Posted April 17, 2009 Share Posted April 17, 2009 <input type="text" onfocus="this.type='password'; this.value='';" name="fpassword" value="Password" size="15" maxlength="15"> Quote Link to comment https://forums.phpfreaks.com/topic/154526-value-in-a-password-text-field/#findComment-812491 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.