Google autofill fields

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shortbackandsides.no@spam.hairdresser.net

    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

    Official Google Chrome Help Center where you can find tips and tutorials on using Google Chrome and other answers to frequently asked questions.


    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]

  • shortbackandsides.no@spam.hairdresser.net

    #2
    Re: Google autofill fields

    On Sat, 05 Jun 2004 18:34:28 +0100,
    shortbackandsid es.no@spam.hair dresser.net wrote:
    [color=blue]
    >I'm having a lot of difficulty trying to persuade the Google toolbar
    >autofill to act consistently... <snip>[/color]

    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>

    Comment

    Working...