Utilize IP validation and/or Google Maps plugin to speed up validation of address and country information. This could also include ZIP code validation to automatically fill in the state.
Sample freegeoip.net code for Shopp
jQuery.ajax( {
url: '//freegeoip.net/json/',
type: 'POST',
dataType: 'jsonp',
success: function(location) {
// example where I update content on the page.
jQuery('#city').html(location.city);
jQuery('#region-code').html(location.region_code);
jQuery('#region-name').html(location.region_name);
jQuery('#areacode').html(location.areacode);
jQuery('#ip').html(location.ip);
jQuery('#zipcode').html(location.zipcode);
jQuery('#longitude').html(location.longitude);
jQuery('#latitude').html(location.latitude);
jQuery('#country-name').html(location.country_name);
jQuery('#country-code').html(location.country_code);
}
} );
Utilize IP validation and/or Google Maps plugin to speed up validation of address and country information. This could also include ZIP code validation to automatically fill in the state.
Sample freegeoip.net code for Shopp
Demo of autocomplete for address
https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete
http://ubilabs.github.io/geocomplete/
This looks nice also: https://github.com/vskosp/vsGoogleAutocomplete#demo