SmartyStreets Plugin
International Validation Woes
I have done everything the walk through requires:
- Included the Plugin
<script src="//d79i1fxsrar4t.cloudfront.net/jquery.liveaddress/3.1/jquery.liveaddress.min.js"></script>
- Configured Plugin Settings
var ss = jQuery.LiveAddress({
key: '******',
waitForStreet: true,
debug: true,
target: "US|International",
addresses: [{
address1: "#line1",
address2: "#line2",
locality: "#city",
administrative_area: "#state",
postal_code: "#zip",
country: "#country"
}]
});
<form>
<input type="text" id="country" name="country" placeholder="country"><br>
<input type="text" id="line1" name="line1" placeholder="line1"><br>
<input type="text" id="line2" name="line2" placeholder="line2"><br>
<input type="text" id="city" name="city" placeholder="city"><br>
<input type="text" id="state" name="state" placeholder="state"><br>
<input type="text" id="zip" name="ZIP" placeholder="ZIP"><br>
</form>
Still however, validation will not work for other countries outside the US?