sujivasagam
sujivasagam

Reputation: 1769

auto complete is not working in firefox 38

I have a profile form in my site in which the password field is auto filled even after i gave auto complete="off" to the text box and also to the form. After that also i got the password field auto complete.

<input name="password" id="password" type="password" autocomplete="off" />

Upvotes: 5

Views: 4738

Answers (4)

madhu
madhu

Reputation: 114

Please try this instead of using any dummy hidden variables within the form.

<input name="password" id="password" type="password" autocomplete="false" readonly onfocus="this.removeAttribute('readonly');" />

Upvotes: 8

sujivasagam
sujivasagam

Reputation: 1769

At last i found a solution for this question. We can make the field as read only and editable on getting focus.

<input name="password" id="password" type="password" readonly onfocus="this.removeAttribute('readonly');" />

Upvotes: 2

Burki
Burki

Reputation: 1216

There is an interesting hack (and some good explanations) in this answer:

Basically you add an extra input field to confuse the browser.

Upvotes: 1

Tharif
Tharif

Reputation: 13971

Autocomplete doesn't work on any forms

If you find that Firefox will not save any text you enter into forms, follow the instructions below.

Check Firefox settings Make sure that Firefox is set to remember form entries and that saved form entries are not being automatically cleared:

Click the menu button New Fx Menu and choose Options.

Select the Privacy panel.

Set Firefox will: to Use custom settings for history.

Make sure that Remember search and form history is selected.

Enabling form autocomplete also makes Firefox store search history for the Search bar.

Find Clear history when Firefox closes. If it is selected:

Click on the Settings... button.

Make sure that Form & Search History is not selected.

Click OK.

Close the about:preferences page.

REFERENCE

Upvotes: 0

Related Questions