City Ajax Auto Complete
###############
Rajout fichier install.html
Cette contribution permet l'auto-complétion des champs ville, région et pays
via le code postale indiqué par le client sur la page create_account.php.
Un code javascript permet à l'arrivée sur la page de détecter automatiquement
le pays du visiteur et le selectionne automatiquement dans la liste déroulante des pays.
Ensuite le client remplie le formulaire d'inscription, quant il remplie son code postal
le script recherche automatiquement la ville et la région concerné par ce code postal
et l'inscrit dans les champs concernés, si plusieurs possibilitées de villes est trouvées
alors une liste avec toutes les villes est placé en dessous du champ ville il ne reste plus
qu'à faire son choix.
Ce script à été trouvé sur internet à la page suivante:
http://www.geonames.org/export/ajax-...ocomplete.html
C'est un webservice qui permet de ne pas avoir besoin de surcharger notre base de données
avec les milliers d'informations nécéssaires à l'auto-complétion et qui rend cette contribution
utilisable par n'importe qu'elle utilisateur d'oscommerce dans n'importe qu'elle pays !!!
ENGLISH DESCRIPTION
###############
With file install.html
This contribution allows the autocomplete fields city, region and country
via the postal code reported by the client create_account.php page.
A javascript code allows the arrival on the page to automatically detect
the country of the visitor and automatically selects the drop down list of countries.
Then the customer filled out the registration form, as he filled his postal code
the script will automatically search the city and the region involved in this postcode
and entered in the fields concerned, though several possibilities of cities is found
a list with all cities is placed immediately below the city there remain
to make his choice.
This script was found on the Internet at the following page:
http://www.geonames.org/export/ajax-...ocomplete.html
It is a webservice which does not need to overload our database
with thousands of information needed for self-completion and that makes this contribution
usable by any user of oscommerce it in any country it!
More...





LinkBack URL
About LinkBacks









Bookmarks