Autofill is a good option for users who don't have an account. But it seems that how browsers determine how they'll implement autofill information varies. I'm not surprised of course. In Chrome, it's kept track of by name
, class
, id
values. You must submit an HTML form in the traditional method="post"
way (no ajax), and honestly I haven't quite figured out how it works in Safari. Firefox seems pretty straightforward and is probably the most sophisticated. Anyway, enough description of the problem. I wondered, as I received many complaints from users about autofill not autofilling, if I should I should implement some sort of solution of my own using cookies.
- A user submits a form.
- All the information he uses is collected and stored into a cookie
- He comes back to the page and in the first
input
he types the first letter of his name and if it matches the first letter of his name in the cookie, all the other inputs are filled out automatically.
It works. But maybe *J*oe is on *J*ane's computer. On Joe's first keypress, all of Jane's information is populated into the form because the first letters are the same. This probably confuses Joe and frustrates him substantially.
So the UX question I have is, when Joe starts to type, is it user friendly to instantly give him a javascript confirm box of the sort:
+-----------------------------------------------------+
| |
| Use previously entered information? |
| |
| Name: Jane Doe |
| Email: [email protected] |
| Account Executive: Bill Bailey |
| |
| |
| +--------+ +--------+ |
| | Cancel | | OK | |
| +--------+ +--------+ |
+-----------------------------------------------------+
(I just felt like doing a little artwork)
Or, since I've never seen anything like this implemented before, is it an unintuitive solution which will startle non tech-savvy users who just know that any sort of box that pops up at them means "danger"?
What's the solution for users who want autofill, but don't create an account. It's a small population of users, so just being like "deal with it, make an account" really isn't an option.