Hacker News new | ask | show | jobs
by ryantbrown 2776 days ago
Changing the label from "Address 2" to "Apartment, Suite, etc (optional)" and adding dynamic dropdowns for City, State, Country decreased the number of incorrect addresses for us by nearly 50%.

Although I can't claim credit I stole it from Shopify's checkout.

2 comments

This approach seems best to me, rather than dealing with free form text and then trying to parse and cleanse that.
> trying to parse and cleanse that

But why would you? If you need to send something to the address you can just print the exact user input on the shipping label.

You might wabt to run some analytics on your data based on city, general area, etc. Also simplifies fraud detection.
> City, State, Country

Not all countries have states.