I can confirm this is an issue on Iphone. As per the OP, you are not able to enter a phone number on any Iphone, it keeps popping up the country selection box. Have tested on IPhone 6 and 7. Android is fine.
Hi,
This is an issue with the jQuery plugin I am using. I only integrate it in WP.
You can report issues at the jQuery plugin page: https://github.com/jackocnr/intl-tel-input
Hi,
I have released version 1.5 of the plugin.
I used the latest version of the JS library available. It should fix your issue.
Can you confirm it works now?
Thanks
Thread Starter
mizyan
(@mizyan)
Hello,
It works when i use the contact form in page. But not working when i use the contact form in Sticky Popup window on mobile.
The country-list is behind the popup window on mobile.
Thanks
-
This reply was modified 8 years, 10 months ago by
mizyan.
Hi,
Probably your popup library creates the fields on the fly.
What my plugin does, is localizing all the fields when the page loads and applying some JS to them. If the fields in you popup don’t exist on page load, my plugin can’t detect them then.
You will have to call some Javascript when you open your popup.
This is the code you need to call when you open the popup:
jQuery(".wpcf7-intl-tel").intlTelInput({
initialCountry: "auto",
utilsScript: wpcf7_utils_url,
geoIpLookup: function(callback) {
jQuery.get('//ipinfo.io', function() {}, "jsonp").always(function(resp) {
var countryCode = (resp && resp.country) ? resp.country : "";
callback(countryCode);
});
}
});