By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,825 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,825 IT Pros & Developers. It's quick & easy.

Google autofill fields

P: n/a
I'm having a lot of difficulty trying to persuade the Google toolbar
autofill to act consistently, for example
<title>autofill test</title>
<form method="POST" action="">

1 email <input type="text" name="email"><br>
2 name <input type="text" name="name"> <br>
3 email <input type="text" name="name"> <br>
4 name <input type="text" name="email"><br>
5 name <input type="text" name="name"> <br>

Note the deliberate inconsistencies in lines 3/4 - in the interest of
attempting to understand what's happening.

The autofill results are :

Full name
Full name

If line 3 was picking up the value from looking not at the field name
but the preceding text, then surely line 4 should do the same?

Still more odd, take away the text to just leave the input fields and
the results are

Full name

Next I tried 5 identical lines, including text description, all
email <input type="text" name="email"><br>
or all
name <input type="text" name="name"> <br>

all are filled correctly, now do the same but without the text:
<input type="text" name="email"><br>
Full name

and 5 identical lines of :
<input type="text" name="name"> <br>

This all seems to suggest that the toolbar doesn't just look at the
field names but also the context - but I can't find any consistency.

The only resource I can find for assistance is

That says:

"Note to web page authors: You can ensure that AutoFill will work on
your pages by using field names defined in the ECML (Electronic
Commerce Modeling Language) standard, found at"

I set up a page with all the Ecom fields to see how Autofill responded
but the results were as confusing as before.

for example depending on context, fields named and described as:

MAY autofill as
Shipto street line1
Shipto street line2

But in a different context
Autofilled to
Primary street line1
Primary street line2

Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
On Sat, 05 Jun 2004 18:34:28 +0100,
sh****************** wrote:
I'm having a lot of difficulty trying to persuade the Google toolbar
autofill to act consistently... <snip>

Answered my own question?

Not entirely, but well enough for my immediate need.

Disregarding Google's advice about using the Ecom standard fields, the
example below seems to work reliably.

<html><head><title>autofill test</title>
</head><body><form method="POST" action=""><table>

<tr><td>Full Name </td>
<td><input type="text" name="Full_Name"></td></tr>

<tr><td>Email address </td>
<td><input type="text" name="Email_address"> </td></tr>

<tr><td>Phone number </td>
<td><input type="text" name="Phone_number"> </td></tr>

<tr><td>Address 1 </td>
<td><input type="text" name="Address_1"> </td></tr>

<tr><td>Address 2 </td>
<td><input type="text" name="Address_2"> </td></tr>

<tr><td>City </td>
<td><input type="text" name="City"> </td></tr>

<tr><td>Postcode/Zip </td>
<td><input type="text" name="Zip"> </td></tr>

<tr><td>County/State </td>
<td><input type="text" name="State"> </td></tr>

<tr><td>Country </td>
<td><input type="text" name="Country"> </td></tr>

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.