473,411 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Google autofill fields

I'm having a lot of difficulty trying to persuade the Google toolbar
autofill to act consistently, for example
=======================
<html><head>
<title>autofill test</title>
</head><body>
<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>

</form></body></html>
=====================
Note the deliberate inconsistencies in lines 3/4 - in the interest of
attempting to understand what's happening.

The autofill results are :

Email
Full name
Email
Email
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

Email
Forename
[blank]
Surname
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>
Email
Forename
[blank]
Surname
Full name

and 5 identical lines of :
<input type="text" name="name"> <br>
Forename
[blank]
Surname
Forename
Surname

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

http://toolbar.google.com/autofill_help.html

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
http://www.ietf.org/rfc/rfc3106.txt."

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:
Ecom_ShipTo_Postal_Street_Line1
Ecom_ShipTo_Postal_Street_Line2
Ecom_Postal_Street_Line1

MAY autofill as
[blank]
Shipto street line1
Shipto street line2

But in a different context
Ecom_ShipTo_Postal_Street_Line1
Ecom_ShipTo_Postal_Street_Line2
Ecom_ShipTo_Postal_Street_Line3
Autofilled to
Primary street line1
Primary street line2
[blank]

Jul 20 '05 #1
1 18507
On Sat, 05 Jun 2004 18:34:28 +0100,
sh******************@spam.hairdresser.net 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>

</table></form></body></html>
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Anks | last post by:
Hi All, A user can control the AutoFill option by enabling / disabling the Remember Passwords option in Options - Privacy - Saved Passwords section. But is it possible to disable this option...
0
by: Ray Holtz | last post by:
Is it possible to autofill a field based on what is entered into another field in a form? My form has an employee field, and department field. In an Items Table, I have fields FldEmployee, and...
2
by: LCalaway | last post by:
Happy 4th, all How do you turn off the following type of autofill: Example: I have created a table with four text fields. When entering numeric data in these fields, by the third field, a...
1
by: Buddy Ackerman | last post by:
Change some HTML forms over to ASP.NET forms and Google SutoFill no longer works. Any ideas on what makes this work/not work? --Buddy
0
by: Daniel Kaplan | last post by:
Anyone have experience using Google AutoFill? My state is highlighted as yellow, so I know Google sees it as an auto fill field, but it won't change the state. Works on other site I go to test,...
4
by: HTS | last post by:
I have written a membership database application (PHP + mySQL) and need to prevent autofill from filling in fields in a member record edit form. I know I can turn off autoFill in my browsers, I...
1
by: Rissoman | last post by:
Hello, I have an issue were I have a zipcode textbox in an atlas ajax updatepanel. When you tab out of the zip textbox and the shipping is calculated. I know this works perfect! Then a user...
0
by: Mike Minor | last post by:
I recently downloaded Google tool bar into my IE 6.0. Sometime later, I went back to a webpage that I've been working on and started noticing that the background color on some but not all text...
1
by: Nik Coughlin | last post by:
I'm doing some ajax validation on form fields, using the form change event. If I click Autofill in the Google Toolbar, fields are filled out but the change event is never fired, so the validation...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.