I'm trying to find documentation on how Safari maps user AutoFill profile data to HTML form input fields. Clearly it's doing some sort of matching on the name attribute, but that's no longer working correctly on our forms. All I can find on Apple's site is end-user documentation. I'm hoping there's some magic Safari-only data attribute I could inject into the HTML to make it work correctly.
We recently (2Q-3Q 2014 or thereabouts) began getting an extra copy of the customer's ZIP code in the field we use for a name suffix, like "Jr," "Sr", "DVM" etc. Was able to associate this behavior with user-agent strings ending Safari/537.* Fairly confident it's Autofill because important form modifications trigger Ajax calls and the very first one had all the contact info. (Filled by hand usually results in multiple ajax calls.)
Not being able to find any better standard, I seelcted the ECML v2 (RFC 4112, https://www.rfc-editor.org/rfc/rfc4112) field names many years ago. It's the input name="Ecom_ShipTo_Postal_Name_Suffix" that's getting the extra copy of the ZIP code. Fortunately, we are also getting the ZIP code in Ecom_ShipTo_Postal_PostalCode where it should be.
Thanks for your help.