• Resolved mizyan

    (@mizyan)


    Hello,
    The plugin is working very good in desktop,
    But i faced i problem in mobile view, When i select a country, I can not add a phone number, When i click on text box of mobile number, the dropdown of countries appear.
    I tried it on Iphone 6s
    Any help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    Plugin Contributor damiarita

    (@damiarita)

    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

    Plugin Contributor damiarita

    (@damiarita)

    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 7 years ago by mizyan.
    Plugin Contributor damiarita

    (@damiarita)

    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);
        });
      }
    });
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t add phone number on mobile’ is closed to new replies.