The simplest, most traditional kind of address form
Traditional address form containing a street line 2 field
Single-Line (freeform) Address Processing: the whole address contained in one 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
Non-US addresses should be allowed to pass thru freely
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
Fields all contain the word "address" and not all fields should be mapped
Fields contain vague or irrelevant names/IDs; use associated labels instead
Form has onsubmit="" attribute which should fire when form is submitted
First the address should be verified, then the submit button's onclick handlers should fire, then the form's onsubmit handlers last
No submit button; form submit() invoked with jQuery should fire verification, if necessary, THEN a handler bound to submit, THEN submit the form.
Address formatted by only a street and lastline field.
Form has both secondary and street2 fields, which ought not get confused. (No form should ever need both...)
Option values should be uppercase state abbreviations when at all possible, but this example uses lower-case abbreviations for failover testing. (No dropdown should ever default to a non-blank value, but this one does.)