Softech Country Phone Validator
by shravanchoudhary on WordPress.org
Add phone input with country flags, dial codes, and validation to WordPress forms and WooCommerce checkout (classic + blocks).
Softech Country Phone Validator (SCPV) is a powerful and flexible plugin that adds country flag dropdowns and format validation to any phone input field in WordPress.
It is compatible with:
– Contact Form 7
– WPForms
– Forminator
– Any other WordPress form plugin (via selector or class targeting)
– WooCommerce Checkout (Classic)
– WooCommerce Checkout Blocks (Gutenberg)
Core Features:
– Country dropdown with flags and international dial codes
– Live phone format validation based on selected country
– Set a default country globally
– Apply automatically to all fields or target with custom selectors
– Admin panel with options to enable WooCommerce, set defaults, and more
– Fully extensible and works with any form that uses HTML inputs
External Libraries
This plugin uses the intl-tel-input library, licensed under the MIT License, to enhance phone number fields with international flags, dial codes, and formatting.
All required assets (CSS, JS, and utility scripts) are bundled locally within the plugin under the assets/intl-tel-input/ directory. No external CDNs or remote file calls are used, ensuring full compliance with WordPress.org plugin guidelines.
The intl-tel-input library is included under the terms of the MIT License.
License
This plugin is licensed under the GPLv2 or later.
See license.txt for full terms.