How to use Geolocation in your form?
It is possible to use Geolocation in your registration form to make the users registration process easier. What is it really?
Probably you have already met this feature somewhere. You need to add your address in a form, or set your home location, and a prompt window come up, and ask you to allow your location with the current website. This feature can be very useful, and make a form-filling faster, and you don't have to worry, because you will asked all the time, your location will be always in safe. You can try here by clicking to the Register button above the article.
This technology has a bit different working method depends on you are browsing from a mobile device or a desktop computer. In case of PCs, it can only use your IP address to locate you, but from mobile phones or tablets, what has also GPS chips, and use the mobile network to locate you the result will be more exact.
The Login will automatically detect that you have placed any location field to your registration form what are the followings:
- Country
- Region
- City
- Postal/ZIP code
- Address 1
- Address 2
If you want to achieve this feature, you should enable the GeoLocation parameter in the module settings / advanced parameters tab.