Sometimes it's really helpful to see some fully functional examples, so here you go.
And here are a few more to demonstrate a number of different use cases for the plugin:
(Note: In these examples we have set waitForStreet to true.)
The simplest, most traditional kind of address form
Administrative Area (State):
Traditional address form containing a street line 2 field
Street line 2:
The entire address in a single field
One might be for shipping, the other might be for billing
Likely, one would be a billing address, and the other would probably be shipping
When there's not enough information to verify an address, the fields shouldn't be mapped
Submit button has an "onclick" attribute which should fire if the button is clicked
First the address should be verified, then the submit button's onclick handlers should fire, then the form's onsubmit handlers last
Form submit() should fire verification, if necessary, THEN a handler bound to submit, THEN submit the form.
Traditional address form containing street line 2 and line 3 fields
Street line 3:
Traditional address form containing street line 2, line 3, and line 4 fields
Street line 4:
Non-US addresses should be allowed to pass thru freely
Country: Select a CountryUnited StatesCanadaUnited Kingdom
Option text must be a state (full name or two-letter state abbreviation). Also, if the first option is not a default value we will insert one for you.
State: Select a stateAlabamaAlaskaAmerican SamoaArizonaArkansasCaliforniaColoradoConnecticutDelawareDistrict of ColumbiaFederated States of MicronesiaFloridaGeorgiaGuamHawaiiIdahoIllinoisIndianaIowaKansasKentuckyLouisianaMaineMarshall IslandsMarylandMassachusettsMichiganMinnesotaMississippiMissouriMontanaNebraskaNevadaNew HampshireNew JerseyNew MexicoNew YorkNorth CarolinaNorth DakotaNorthern Mariana IslandsOhioOklahomaOregonPennsylvaniaPuerto RicoPalauRhode IslandSouth CarolinaSouth DakotaTennesseeTexasVirgin IslandsUtahVermontVirginiaWashingtonWest VirginiaWisconsinWyomingArmed Forces AmericasArmed Forces EuropeArmed Forces Pacific
Already have an account? Log in.
Actually, I remember now.