How to use Geo Controller inside ContactForm7?

Here is one example how you can easy insert Geo Controller inside ContactForm 7. You must include javascript support to can work properly.

[text* city placeholder "* City Name"]
[text* country placeholder "* Country Name"]

<script>
jQuery(document).ready(function(){
    // Insert city name
    jQuery("input[name^='city']").val(window.cfgeo.city);
    // Insert Country name
    jQuery("input[name^='country']").val(window.cfgeo.country);
});
</script>

About the author

Login

Lost your password? Register

Register


Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our privacy policy.


Lost your password? Login