• Resolved Anonymous User 18272332

    (@anonymized-18272332)


    Hi this is a clever plugin!

    Is it possible to disable the ip lookup function and set a deafult country instead. Many people are using VPN services or block some functions. Our customers are from one country only.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Anonymous User 18272332

    (@anonymized-18272332)

    …I was able to achieve this by changing “auto” to the preferred country in the script.js and script.min.js files. However, it would be nice if it could be added as an option.

    Plugin Author Yordan Soares

    (@yordansoares)

    Hello @wipx,

    Thanks for your suggestion. I plan to add that feature in a future release. Right now I’m a little busy with several projects, but I will back to this later.

    Best regards,
    Yordan.

    Plugin Author Yordan Soares

    (@yordansoares)

    Hello again @wipx,

    I just release the latest version of International Telephone Input for Contact Form 7 that includes a new option: Initial Country. Now you can set a initial country by default. When this option is set, the IP lookup feature will be disabled. See the changelog here.

    To add this option to an existent form-tag, just put the initialCountry parameter with the two-letter country code of your initial country this way:

    [intl_tel your-phone initialCountry:us]

    You also can add a new international telephone input using the form tag generator:

    Adding an initial country

    I hope it’s useful to you.

    Best regards,
    Yordan.

    Thread Starter Anonymous User 18272332

    (@anonymized-18272332)

    That is amazing, it works really well! I think it makes the plugin even more versatile.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable ip lookup’ is closed to new replies.