Webinar
Smarty

Setting up US Address Autocomplete API to autofill your forms

Get clean address data from the very beginning by using this popular API to fill in address information.
Wes Arnold
Wes Arnold
 • 
March 11, 2022
Tags

Many businesses now collect data online. One could argue that it is nearly impossible to succeed in modern business without some sort of online portal in which there is an exchange of information between the provider and the customer.

But how do you ensure that the information being input by the customer (or potential customer) is accurate?

While there is no way to ensure that Bobby Duncan doesn’t put “Sammy Sosa” in the name line on a form, there IS a way to ensure that he’s putting in a valid mailing address for you to mail his package to.

There are more benefits than just ensuring the address data is complete and accurate. The more keystrokes a user needs to make to complete a form, the less likely they are to complete it, driving down conversion rates. Most companies these days try to ask for less than four items per form because they know that if they ask for name, email, and company they’ll have less form fills.

So why not remove some of the manual labor from your users and have their address—likely the longest thing they’ll type into your form—complete itself after as few as four keystrokes? That’s possible, using the Smarty US Address Autocomplete API.

In a recent webinar, our own Dave Hale, Front-End Engineer for Smarty and coding lover, showed how you can use the Smarty US Address Autocomplete API to autofill the address line in your forms.

There are several benefits to utilizing an autocomplete API for the address line in your forms:

  • Keep your database clean and accurate from the beginning
  • Ensure you are only collecting mailable addresses
  • Prevent accidental fat-fingered addresses
  • Prevent intentionally fake addresses and fraud
  • Remove the need to do regular database cleansing
  • Increase form conversion rates

In the webinar recording below, you’ll watch Dave utilize two different methods to implement the Smarty US Address Autocomplete API into a form:

  • JavaScript SDK (Full documentation found here: https://www.smarty.com/docs/sdk/javascript)
  • US Autocomplete Pro API: (Full documentation found here: https://www.smarty.com/docs/cloud/us-autocomplete-pro-api)

Start increasing your form fills and reducing bad address data.

Try the Smarty US Address Autocomplete API yourself for free by signing up for a free account where you’ll get 1,000 free US Address Autocomplete lookups, along with a slew of other useful testing items.

Get Free Account

Subscribe to our blog!
Learn more about RSS feeds here.
rss feed iconSubscribe Now
Read our recent posts
Inside Smarty® - Caroline Roweton
Arrow Icon
We’ve said it once, and we’ll say it a zillion more times—nobody puts the “care” in Caroline as Ms. Roweton does! Often referred to as the chill vibes chick around the office, Caroline has a calming presence (unless she’s pulling some seriously rad pranks like stealing Randy Buttons in the dark of night and holding him hostage for days). As an Associate Product Manager, Caroline is responsible for researching and defining Smarty’s international products. She also performs competitive research, communicates with customers, gathers and prioritizes feature requests from them, supports sales through custom deals and pricing, and is pretty much just a superhero.
Boo! Scary street names in horror movies
Arrow Icon
If you’re here, you appreciate a good horror movie, especially around Halloween time. There are many different subgenres of scary movies: slasher, found footage, psychological horror, supernatural horror, monster, folklore, zombie, gothic fiction, paranormal fiction, and the list goes on and on for a frighteningly long time. One thing all horror movies have in common is a scary setting. Maybe the trees are creepy and dead. Perhaps the house is rotting from the inside out. Sometimes, the location has historical significance with real and traumatic events.
Standardizing country information: Easier said than done
Arrow Icon
At first glance, standardizing country information seems like a straightforward task. After all, how complicated can it be to manage country codes and names? However, once you start diving into the complexities—multiple users, various languages, diacritics, and more—it becomes clear that this process is far from simple. What if Germany has a different name for France than France does because of language barriers between German and French? (They do. The name “France” in German is “Frankreich,” but “France” in French is “France.