Note that there are some explanatory texts on larger screens.

plurals
  1. POautocomplete user/password in firefox
    primarykey
    data
    text
    <p>I've created a login submit form in HTML but for some reason user/password autocompletion does not work like I expect in firefox.</p> <p>This is what happens in Firefox:</p> <ul> <li>I give username and password and click on the login button</li> <li>Firefox prompts me if I would like to remember the password. I press 'remember' and login works. (I made sure I deleted all remembered passwords before running this test)</li> <li>I log out and return to the login page. I would expect the username and password field to be prefilled but that is not the case (if FF has stored only one user/pw combi for a specific URL than it automatically prefills this combi in your form)</li> </ul> <p>Notice that I don't (want to) use cookies. I verified in FF password manager that username and password had actually been stored (they were)</p> <p>Here's the code for this page:</p> <pre><code>&lt;form name="login_form" id="login_form" autocomplete="ON" onsubmit="javascript:xajax_action_login(document.getElementById('user_name').value, document.getElementById('password').value); return false;"&gt; &lt;div class="login_line"&gt; &lt;div class="login_line_left"&gt;name&lt;/div&gt; &lt;div id="user_name_id" class="login_line_right"&gt;&lt;input size="16" maxlength="16" name="user_name" id="user_name" type="text"&gt;&lt;/div&gt; &lt;/div&gt; &lt;!-- login_line --&gt; &lt;div class="login_line"&gt; &lt;div class="login_line_left"&gt;password&lt;/div&gt; &lt;div id="password_id" class="login_line_right"&gt;&lt;input size="16" maxlength="16" name="password" id="password" type="password"&gt;&lt;/div&gt; &lt;/div&gt; &lt;!-- login_line --&gt; &lt;div class="login_line"&gt; &lt;div class="login_line_left"&gt; &lt;/div&gt; &lt;div class="login_line_right"&gt;&lt;input class="button" value="login" type="submit"&gt; &lt;/div&gt; &lt;!-- login_line --&gt; &lt;/form&gt; &lt;!-- login_form --&gt; </code></pre> <p>What is wrong with my code? How can I get autocompletion to work in FF with my code?</p> <p>Autocompletion does work correct with for instance gmail. Each time I visit the login page of gmail, the email and password fields are correctly prefilled. I don't use the 'remember me on this computer' checkbox so no cookies are used.</p> <p>I would greatly appriciate your help. Jasper</p> <p><strong>Update</strong><br> Autocomplete is enabled in firefox. I want to stay IE compatible.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload