4

Firefox and IE ask me to save the password. Why doesn't Chrome ask me? What do I have to change?

<body>
    <form action="" name="formlogin" id="formlogin">
        Username: <input type="text" name="username" id="username" />   
        Password: <input type="password" name="password" id="password"/> 
        <input type="submit" name="Submit" value="Submit" />
    </form>
</body>
David Refoua
  • 3,476
  • 3
  • 31
  • 55
Maxii
  • 695
  • 2
  • 13
  • 26
  • Why do you want that unsafe password helper? – Ron van der Heijden Mar 15 '13 at 11:58
  • 1
    Chrome doesn't like you spelling as Chrome saves my passwords for me. Does is save any passwords? Maybe this will help: http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=95606 – matpol Mar 15 '13 at 11:59
  • I must use it. It's not my choice. – Maxii Mar 15 '13 at 12:01
  • Yes it saves some passwords from other sites. – Maxii Mar 15 '13 at 12:02
  • FYI: This article about [Chrome PasswordManager PasswordFormManager](http://tech.pro/tutorial/828/how-google-chrome-stores-passwords) gives some insight how passwords are stored in Chrome's SQLite database and that they are encrypted using a `CryptProtectData` method. Since it is 6 years old i wonder if currently chrome stores the passwords online as well. – surfmuggle Nov 19 '14 at 22:12
  • Possibe duplicate of https://stackoverflow.com/questions/2382329/how-can-i-get-browser-to-prompt-to-save-password – David Refoua Mar 02 '16 at 17:33

2 Answers2

0

Your form needs a destination. Just assign action. For example create a file called "test.html" and then:

<body>
    <form action="test.html" name="formlogin" id="formlogin">
        Username: <input type="text" name="username" id="username" />    
        Password: <input type="password" name="password" id="password"/> 
        <input type="submit" name="Submit" value="Submit" />
    </form>
</body>
David Refoua
  • 3,476
  • 3
  • 31
  • 55
Spotvice
  • 155
  • 9
-1

I believe this question has already been adressed here.

<form name="formlogin" id="formlogin" action="" method="POST" onsubmit="handleFunction('action_login', document.getElementById('username').value, document.getElementById('password').value); return false;">
        Username: <input name="username" id="username" size="16" maxlength="16" value="" type="text">
        Password: <input name="password" id="password" size="16" maxlength="16" type="password">
        <input type="submit" name="submit" value="Submit">
</form> <!-- login_form -->
Community
  • 1
  • 1
Jefferson
  • 993
  • 2
  • 16
  • 35