Documentation
Troubleshooting the phone field
Fixes for common issues: a field that isn't enhanced, a number under the flag, no server validation, no detected country, and more.
Last updated
View as MarkdownCommon issues and how to fix them. International Telephone Box keeps everything bundled and works out of the box, so most problems are a caching or conflict issue.
A field isn't enhanced
- Confirm the field is
input[type="tel"], nottype="text". - The field may have been added after page load by another plugin; it is still picked up automatically. Try clearing your cache.
- If another plugin already adds its own international phone library to that field, International Telephone Box leaves it as is on purpose.
- Check for JavaScript errors in the browser console that might stop our script.
- Clear any page/object cache and reload.
A number sits under the flag
The number stays clear of the country box even when a theme forces input padding. Fixed in 1.5.0. If you see overlap, clear cache; check your theme isn't overriding .iti padding with !important.
No server validation
Server-side validation needs PHP 8.1+. On older PHP the plugin keeps working with browser validation only. Confirm PHP version and that you're on International Telephone Box 1.5.0. (WooCommerce Checkout block server validation needs WooCommerce 9.9+.)
WooCommerce order not blocked
- Confirm
Validate phone numbers at checkoutis on in Phone Box → Countries → WooCommerce. - An invalid number, or one from a country you don't offer, stops the order; check your
Countries to offersetting. - On the Checkout block, server validation needs WooCommerce 9.9+.
Country not auto-detected
IP detection uses ipapi.co. If it's off, or it can't find a country you offer, the Fallback country is used. Check the Privacy setting and your Countries to offer. You can set Initial country to a specific country instead of Detect from visitor's location.
Arabic-Indic digits
Server-side validation understands numbers typed with Arabic-Indic digits. The number is still normalised to E.164.
The phone field is required but empty passes
Whether the field is required is controlled by your form plugin / WooCommerce, not by International Telephone Box. See Make the phone field required.
Still stuck?
Open a thread on the WordPress.org support forum. Include your WordPress, PHP and (if relevant) WooCommerce versions, the plugin version (1.5.0), and the form plugin you use. Custom integration? Contact.