Question

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.

Était-ce utile?

La solution

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:)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top