473,748 Members | 9,933 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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>autofi ll test</title>
</head><body>
<form method="POST" action="">

1 email <input type="text" name="email"><b r>
2 name <input type="text" name="name"> <br>
3 email <input type="text" name="name"> <br>
4 name <input type="text" name="email"><b r>
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"><b r>
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"><b r>
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_Pos tal_Street_Line 1
Ecom_ShipTo_Pos tal_Street_Line 2
Ecom_Postal_Str eet_Line1

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

But in a different context
Ecom_ShipTo_Pos tal_Street_Line 1
Ecom_ShipTo_Pos tal_Street_Line 2
Ecom_ShipTo_Pos tal_Street_Line 3
Autofilled to
Primary street line1
Primary street line2
[blank]

Jul 20 '05 #1
1 18530
On Sat, 05 Jun 2004 18:34:28 +0100,
sh************* *****@spam.hair dresser.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><ti tle>autofill test</title>
</head><body><for m method="POST" action=""><tabl e>

<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_add ress"> </td></tr>

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

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

<tr><td>Addre ss 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>Postcod e/Zip </td>
<td><input type="text" name="Zip"> </td></tr>

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

<tr><td>Count ry </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
7063
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 programatically using JavaScript or in any other way ? I basically dont want the user's browser to ever remmeber the username and password and hence autofill these two fields !! So can we do anything as the page author to disable
0
2300
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 FldDepartment. FldEmployee is looked up from an TblEmployee Table which also has fields FldEmployee and FldDepartment. This FldDepartment field is looked up from a TblDepartment table that just has FldDepartments. I hope I explained that OK The...
2
2690
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 number will automatically fill the field. It will be based on the numeric progression of the first two numbers - so If field 1 = 1 and field 2 = 3, the third field will automatically enter 5
1
1293
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
1475
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, figured there must be something simple. Below is the code from my web form, THanks
4
15847
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 want a away to prevent it within the form itself. Is there any standard way to "tell" a browser not to autofill the fields on a particular form?
1
2086
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 informed me it didn't and he is using google autofill, bad! Thus, I came to the conclusion that autofill doesn't fire the text_change event when the zipcode is filled into the text box. Is there a way to force autofill to fire this text_change...
0
2941
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 input fields were yellow. I've been pulling out my hair over why some were yellow and some were white, checking css settings, looking for errant code, etc.... I finally decided to start poking around outside of the html code I'm working on and...
1
3156
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 doesn't update. I could user a timer but that just smells wrong to me. Any other way to reliably tell if a form has changed or even if I could detect that autofill has been used somehow
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8831
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9374
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8244
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.