Checkout Forms and Google Autofill

This morning I’ve been working on a shopping cart checkout form and wanted to share a few things I learned.

I needed a list of countries for my checkout form, and I discovered that country codes are defined by ISO 3166.

Here is a site that has some example html code for states and countries:

http://www.mediacollege.com/internet/samples/html/country-list.html

http://www.mediacollege.com/internet/samples/html/state-list.html

To get the Google Toobar to autofill my checkout form, I used the ECOM field names for my input fields which are available in RFC 3106.

I had some trouble getting the CVC (card verification code) field to autofill, but adding the text “CVC” to the fields label got it working.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s