Skip to main content

Setting the default country

detectCountry disables the country detection on Address Finder and defaultCountry sets the default country.

 
AddressFinder.setup({
apiKey: "ak_test",
detectCountry: false,
defaultCountry: "USA",
outputFields: {
line_1: "#first_line",
line_2: "#second_line",
line_3: "#third_line",
post_town: "#post_town",
postcode: "#postcode",
}
});

Live Demo

Loading...