Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Forms autocomplete not working even though autocomplete attribute(autofill field tokens) is provided.

  • 4 відповіді
  • 3 мають цю проблему
  • 1 перегляд
  • Остання відповідь від dzekoo

more options

Steps to reproduce:

1. Create a basic form with an input element for email 2. Add autocomplete attribute with value "email" and name attribute with some random value (not email). 3. When filling this form, autocomplete doesn't work(no previously used values of emails are listed).


Actual results:

No previously filled values of email are listed even though we have provided autocomplete attribute as email.


Expected results:

Previously used values of emails should have been listed as we have provided the autocomplete attribute as email.

Steps to reproduce: 1. Create a basic form with an input element for email 2. Add autocomplete attribute with value "email" and name attribute with some random value (not email). 3. When filling this form, autocomplete doesn't work(no previously used values of emails are listed). Actual results: No previously filled values of email are listed even though we have provided autocomplete attribute as email. Expected results: Previously used values of emails should have been listed as we have provided the autocomplete attribute as email.

Усі відповіді (4)

more options

What are you using? Firefox auto-fill, an add-on . . . . . . .

You would be better of with a form filling add-on.

Go to the Mozilla Add-ons Web Page {web link} (There’s a lot of good stuff here) and search for what you want.

more options

I am not using add on. But in the documentation of autocomplete nothing regarding add on is mentioned : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input . Does mozilla not support autocomplete attribute without add on?

more options

The built-in form filler is not that handy. Sometimes it's a pain. It only works on pages you worked on before. But that information can be deleted.

A form filler can work on any web page. It works by this; In any form, each input box has a name. The form filler 'reads' the name and places the recorded entry automatically. It can also be adjusted to fill in data based on the website.

more options

So it only picks the value by name attribute and not by autocomplete attribute? So what is the use of autocomplete attribute(email,name) as mentioned in the doc : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input