Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

How to designate user password fields so that firefox does not autofill login info into incorrect fields?

  • 3 trả lời
  • 2 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

I have a website that allows my customers to manage their business. Within, each customer manages their own customers. I have recently built a portal to allow them to give their customers a password to log in and manage their own orders. I am running into a problem where if a user allows Firefox to save their username and password for my domain, on their customer forms if they leave the Password blank for that customer, Firefox autofills that user's password into that field. I am at a loss as to how to stop Firefox from doing this other than disabling autofill on forms on my site completely. Any information would be greatly appreciated.

I have a website that allows my customers to manage their business. Within, each customer manages their own customers. I have recently built a portal to allow them to give their customers a password to log in and manage their own orders. I am running into a problem where if a user allows Firefox to save their username and password for my domain, on their customer forms if they leave the Password blank for that customer, Firefox autofills that user's password into that field. I am at a loss as to how to stop Firefox from doing this other than disabling autofill on forms on my site completely. Any information would be greatly appreciated.

Tất cả các câu trả lời (3)

more options

Firefox apparently can't autofill some fields created by script. This is a complaint we sometimes see here about the Windows Live login form. I'm not sure of the exact requirements to prevent the password manager from working; reading all the comments on this bug gave me a headache: Bug 355063 – Password manager does not work on script-generated forms.

more options

Thanks for the response. I am floating the autocomplete="off" suggestion from that thread by my devs but I am not sure that this will be the solution I need. I may have omitted this from my original question but this only happens after the form is submitted. When loading the form to initially enter customer data the field shows as blank, but after submitting the form, then returning to the record, firefox has filled in the password field with that current user's password.

more options

Another way would be to place the password field on another page (i.e. initially only ask for the name) and ask for the password in another input form or page.