This is so much better than other similar plugins. But IP lookup doesn’t seem to work and the default country isn’t automatically selected. Can you please fix this?
]]>Hello,
On my site, I’ve used International Telephone Input for Contact Form 7 plugin to validate phone numbers based on country.
But it receives any length of digits – even a one-digit number or 30 digits, I need to validate the phone number based on the country. for ex: It can take only 10 digit number for USA or India and 9 for Australia, it should not be more than that or lesser than that.
I’m attaching SS for reference: https://prnt.sc/PihLJyUXaTDy
Please look into it, which way I can validate phone numbers based on country.
Waiting for your response.
Thank you.
Hi
Can you please guide how to implement this plugin because I have installed this plugin and after using as per documentation it will show blank field without any dropdown.Please. reply me asap .
Thanks
]]>Hi,
It appears that, on the latest versions of WordPress and Contact Form 7, the contextual error messages do not display on validation errors. I’ve seen several support topics on the matter dating as far as 10 months ago with no reply. Is the project still alive?
Thank you!
]]>duplicate
]]>Seems like IP lookup feature doesn’t work. WordPress v 6.0, CF7 v5.6.3
Are any updates to the plugin ahead?
Even if field required error message Please fill out this field. – does not shown. wpcf7-not-valid class does not add
]]>Please help me with displaying country code in phone field beside flag .
]]>The Plugin doesn’t do the validation of number
in receives any length of digits – even a one digit number or 30 digits either
in development mode i see the right placeholder change
WP 5.8.2
PHP 7.4
CF7 5.5.3
Hello,
I set the field as required field like this:
[intl_tel* usr_phone_number id:usr_phone_number]
The required works just when the user didn’t enter the phone number, and didn’t choose the country.
How i can make the both country code and phone number required?
(Note: i don’t want to add initialCountry)
Thanks
]]>hello developer,
the plugin is excellent!
can you please guide me or make update of the plugin so that it can auto detect phone code and country and fill the fields?
for example: if anyone from USA visit the website, the contact form field will populate the phone code and the country. Or, if visit the website from India, the contact form field will populate the phone code and the country.
thanks in advance
Thanks for creating this fine plugin.
Is it possible to limit the country list? I just want to show/active 3-4 countries in the dropdown. Users won’t be able to input phone numbers from other countries that are not listed in the dropdown. So, the dropdown will be something like this?
Is that achievable within plugin configuration?
Thanks again.
]]>Hello, I have been using this plugin more than a month, however it stopped to work today. It does not pick country anymore by default. Default flag comes empty.
It sad for me to broken this plugin I like it so much.
I checked ip look up company website that you work(https://extreme-ip-lookup.com/) it says;
“For use on a website the limit is 10,000 requests per month. Free usage includes HTTP and secure HTTPS requests!”
May be the reason this?
can it be fixed? or i should look for another plugin? in order to fix this, i have to pay them 20 Euro?
Finally, is there any option to use without ip look up option manually people may pick flag?
I prefer to counitue auto ip detection however 20 euro seems expensive.
]]>Hi,
We’re noticing that the initiation of the fields is causing ~50-100ms CPU time (x2 as we have two forms so 100-200ms) when profiled through webpagetest.org and using Motorola G4 (Core Web Vitals test).
This is proving quite problematic – does the form really need to be “generated” client-side in such a costly manor? Any thoughts on how to make it faster?
We’ve tried disabling preferred countries completely but it seems to be the actual DOM generation which is the issue.
Alternatively perhaps just generate the form with a single placeholder field and generate the others when the dropdown is clicked?
]]>Hi, as you can see, if you log in to this page, the plugin is not able to identify the country based on the IP, therefore, the flag and country code are greyed out. Also, I am getting the following error from the DEBUG
Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/tradingdominance/public_html/wp-includes/functions.php on line 5535
]]>To display the field’s info on your email, use this tag: [{your-phone}]
. It will display something like +12025550109
Possible to display something like this +1 (202) 555-0109 ?
]]>I have just added this plugin (https://www.ads-software.com/plugins/international-telephone-input-for-contact-form-7/) to my contact form 7 webform – it works effectively to pull in international dialling code – however this field does not follow the design of the rest of the fields? Any idea where I can change this so the form has a uniform display?
]]>Hi team,
I’ve used your plugin in contact form 7, and used the shortcode to create a form popup through elementor builder, but the problem is that the dropdown is not working with the elementor popup. it works when the form is on the page but it does not work with the elementor popup. Please solve this issue of mine.
kind regards.
]]>Hello! You are incorrectly using the wp_localize_script
method in the file includes/form-tag. php:105
to define the wpcf7_utils_url
js variable. This causes a php error, because the third parameter is expected by an array, but a string is passed.
Instead, it is better to use the wp_add_inline_script
method, as described in this example
Dear all,
For my form, when the International Number field is in focus, it overwrites my existing theme’s colour and style.
Can someone point me in the right direction?
Warm regards,
CT
Hi
Thanks for an awesome plugin. But we’re having an issue with an integration with the mobile phone number, and our CRM. The mobile field name in Contact form 7 is “mobile”, but the International phone number plugin adds “mobile-cf7it-national” to the field name. That causes the CRM not to pick up the contents of this field. And the mobile number is not added to the CRM.
Is there any way to change the field name, so that it stays one as “mobile”?
]]>Hello,
I use your International Telephone Input for Contact Form 7 (ITICF) plugin using the Contact Form 7. I insert a Contact form 7 into Popup Maker plugin. This plugin I use for plugins in various pages and popups work normally and I receive telephone number from the popup too.
Recently I got a task to make a popup from the site that is not built in WordPress. I decided to include a Popup Maker popup in an iframe. Iframe uses a popup with contact form 7 and ITICF that is built in a page made in WordPress. Everything works smoothly. But from iframe the Contact form 7 doesn′t recognize a number from ITICF. With a usual telefone field it does, of course.
Is it possible to find a solution for this case?
]]>Not valid message on any number is typed. I tried to type a proper Ukrainian number in different styles (+380673779480 or 0673779480 or 80673779480) but it always validates its as invalid
]]>International Telephone Input for Contact Form 7 was working perfectly for me, but suddenly the IP lookup is not working anymore.
I’ve tried to delete the plugin and re-install it. Still the same issue
Hi,
I am using the below code for the field required
[intl_tel* your-phone]
but it doesn’t work with a separate Dial Code option
Hi there,
the plugin breaks if Hummingbird cache plugin is enabled. I tried adding the libraries to the exclusions section. didn’t help. probably i am not adding the correct js/css files
screenshot link
if i disable asset optimissation in Hummingbird , it works fine
Hello I am trying to work with this wonderfull plugin using an elementor pop up but it no is posssible. I think the reason is because elementor pop up doesnt load the CF7 forms until the pop up is open, so the js initialization for this plugin tun only when the page is loaded. I found a temporally solution. I should like a better solution.
if ('undefined' !== typeof jQuery) {
jQuery(document).on('elementor/popup/show', function (event, id) {
//Codigo para que funcione las banderas en los campos telefonos cuando hay un pop up
jQuery('.wpcf7-intl-tel').each(function () {
var intl_tel_input = jQuery(this);
var additional_settings = {};
var initialCountry = {};
if (undefined != intl_tel_input.data('preferredcountries') && '' != intl_tel_input.data('preferredcountries')) {
additional_settings.preferredCountries = intl_tel_input.data('preferredcountries').split('-');
}
if (undefined != intl_tel_input.data('initialcountry') && '' != intl_tel_input.data('initialcountry')) {
initialCountry = intl_tel_input.data('initialcountry');
} else {
initialCountry = "auto";
}
var intl_tel_default_setting = {
initialCountry: initialCountry,
utilsScript: wpcf7_utils_url,
geoIpLookup: function (callback) {
jQuery.get('//extreme-ip-lookup.com/json', function () { }, "jsonp").always(function (resp) {
var countryCode = (resp && resp.countryCode) ? resp.countryCode : "";
callback(countryCode);
});
}
};
intl_tel_input.intlTelInput(intl_tel_object_assign([intl_tel_default_setting, additional_settings]));
var intl_tel_container = intl_tel_input.parents('span')[0];
var intl_tel_form = intl_tel_input.parents('form');
intl_tel_form.submit(function () {
jQuery(intl_tel_container).children('input.wpcf7-intl-tel-full').val(intl_tel_input.intlTelInput('getNumber'));
jQuery(intl_tel_container).children('input.wpcf7-intl-tel-country-name').val(intl_tel_input.intlTelInput('getSelectedCountryData').name);
jQuery(intl_tel_container).children('input.wpcf7-intl-tel-country-code').val(intl_tel_input.intlTelInput('getSelectedCountryData').dialCode);
jQuery(intl_tel_container).children('input.wpcf7-intl-tel-country-iso2').val(intl_tel_input.intlTelInput('getSelectedCountryData').iso2);
});
});
//termina Código para que funcione las banderas en los campos telefonos cuando hay un pop up
})
}
]]>
Right now if its only text (without Numbers) it gives a validation error.
But with mix of numbers & characters it doesn’t validate.
I want the field can only accept numbers.
]]>Hi,
I need add an asterisk in the placeholder telephone, but keeping the international phone in the background. I’ve made it obligatory but I need show the asterisk.
Is there any way to do it?