herceg
Forum Replies Created
-
Forum: Plugins
In reply to: [Country & Phone Field Contact Form 7] Auto select Countrysame problem default country jp? what is jp?
initial country auto and still it shows us on both?
what is here the issue?
thanks for helping
(function($) {
$(function() {$(“.wpcf7-countrytext”).countrySelect({
//defaultCountry: “jp”,
//onlyCountries: [‘us’, ‘gb’, ‘ch’, ‘ca’, ‘do’],
//preferredCountries: [‘ca’, ‘gb’, ‘us’]
});$(“.wpcf7-phonetext”).intlTelInput({
// allowDropdown: false,
// autoHideDialCode: false,
autoPlaceholder: “off”,
// dropdownContainer: “body”,
// excludeCountries: [“us”],
// formatOnDisplay: false,
// geoIpLookup: function(callback) {
// $.get(“http://ipinfo.io”, function() {}, “jsonp”).always(function(resp) {
// var countryCode = (resp && resp.country) ? resp.country : “”;
// callback(countryCode);
// });
// },
hiddenInput: “full_number”,
// initialCountry: “auto”,
// localizedCountries: { ‘de’: ‘Deutschland’ },
nationalMode: false,
// onlyCountries: [‘us’, ‘gb’, ‘ch’, ‘ca’, ‘do’],
// placeholderNumberType: “MOBILE”,
// preferredCountries: [‘cn’, ‘jp’],
//separateDialCode: true,
//utilsScript: “nb_intl/js/utils.js”});
});
})(jQuery);hello on my cpf setting it shows all well marked but it doesn’t show the phone flag nor the country flag based on pc ips?
from the start it was working but now it doesn’t and i tried to desactivate and activate the plugin to see if it would work but nothing strange ? i can’t understand that? thanks for help