{"id":274428,"date":"2018-08-06T06:51:38","date_gmt":"2018-08-06T13:51:38","guid":{"rendered":"http:\/\/css-tricks.com\/?p=274428"},"modified":"2018-08-06T06:51:38","modified_gmt":"2018-08-06T13:51:38","slug":"lets-make-a-form-that-puts-current-location-to-use-in-a-map","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/lets-make-a-form-that-puts-current-location-to-use-in-a-map\/","title":{"rendered":"Let’s make a form that puts current location to use in a map!"},"content":{"rendered":"

I love shopping online. I can find what I need and get most things for a decent price. I am Nigerian currently working and studying in India, and two things I dread when shopping online are:<\/p>\n

    \n
  1. Filling out a credit card form<\/li>\n
  2. Filling out shipping and billing address forms<\/li>\n<\/ol>\n

    Maybe I\u2019m just lazy, but these things are not without challenges! For the first one, thanks to payment processing services like PayPal and e-wallets, I neither have to type in my 12-digit credit card number for every new e-commerce site I visit, nor have to save my credit card details with them.<\/p>\n

    For the second, the only time-saving option given by most shopping websites is to save your shipping address, but you still have to fill the form (arrghh!). This is where the challenge is. I’ve had most of my orders returned because my address (which I thought<\/em> was the right address) could not be located or confirmed by the app for one reason or another.<\/p>\n

    <\/p>\n

    Address inputs are challenging<\/h3>\n

    Getting a user’s address through an input form is a clean solution but can also be a herculean task to the user. Here’s why:<\/p>\n