Note that there are some explanatory texts on larger screens.

plurals
  1. POAutocomplete for password doesn't work for my webapp (in firefox)
    primarykey
    data
    text
    <p>I've created a login submit form in HTML but for some reason autocompletion does not work in firefox.</p> <p>This is what happens in Firefox: - I give username and password and click on the login button - Firefox prompts me if I would like to remember the password. I press 'remember' and login works. - 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. Notice that I don't (want to) use cookies.</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;&amp;nbsp;&lt;/div&gt; &lt;div class="login_line_right"&gt;&lt;input class="button" value="login" type="submit"&gt;&lt;/div&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><strong>Update</strong> I'm using php and FF3</p> <p>Thanks, Jasper </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    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