473,289 Members | 1,884 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,289 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 18500
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: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.