Re: [w3c/payment-request] Matching PaymentAddress fields to autofill attributes (#932)

From the top of my head:

| PaymentAddress  | Autocomplete |
| ------------- | ------------- |
|  `recipient` | `name`  |
|  `organization` | `organization`  |
|  `addressLine` | `street-address`  |
| `dependentLocality`  | `address-level3`  |
|  `city` | `address-level2`  |
| `region  | `address-level1`  |
| `country`  | `country`  |
| `postalCode`  | `postal-code`  |
| `sortingCode`  | `postal-code`  |
| `phone`  | `tel`  |

There's no separate field for `sortingCode` in `autocomplete`. The `postal-code` field is reused with a note:

> Postal code, post code, ZIP code, CEDEX code (if CEDEX, append "CEDEX", and the arrondissement, if relevant, to the address-level2 field)

CEDEX is one type of sorting code. It may be the only type. I'm not 100% certain.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/932#issuecomment-710242115

Received on Friday, 16 October 2020 17:11:10 UTC