All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sections.inputphone.geoIpLookup.xhtml Maven / Gradle / Ivy

There is a newer version: 1.1.0.6-jre15
Show newest version


    
        
            
        
        
            

International phone numbers input with initial country based on IP location lookup using https://ipinfo.io.

When setting initialCountry to "auto", you must use this option to specify a custom function that looks up the user's location, and then calls the success callback with the relevant country code.

Tip: store the result in a cookie to avoid repeated lookups.

${showcase:getFileContent('/sections/inputphone/example-geoIpLookup.xhtml')}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy