Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browser autofill

Tags:

html

autofill

Is there any way I can label or mark my HTML to ensure a field such as "First name" should get autofilled?

Most popular browsers use a regex for field names, e.g. for first name

.*name|initials|fname|first$". 

But changing field names has implications elsewhere; I am limited in what I am permitted to change.

like image 517
Barney Avatar asked Apr 12 '13 09:04

Barney


People also ask

What is browser autofill?

Autofill is a function found in some computer applications or programs, typically those containing forms, which prefills a field automatically and can save a user time. A web browser's autofill feature is used to fill out forms with previously entered values, or a predetermined value.

How do I find my browser autofill?

Open your Chrome browser. Click on the three dots at the top right corner. Go to Settings, look for the Autofill section, and select Passwords. You will see a list of websites with usernames and passwords.


1 Answers

this is a form with auto completion on

<form action="demo_form.asp" method="get" autocomplete="on">
  First name:<input type="text" name="fname"><br>
  E-mail: <input type="email" name="email"><br>
  <input type="submit">
</form>  

I hope that helps it's the best I could find:)

like image 90
dragonloverlord Avatar answered Sep 29 '22 23:09

dragonloverlord