Directory / plugin

Softech Country Phone Validator

v1.0.5 ยท by shravanchoudhary

Add country flags, dial codes, and phone validation to any form field or WooCommerce checkout (classic + blocks).

View on WordPress.org

About this plugin

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.

Turn any input field into a phone field. SCPV converts any standard input into an international telephone input, adds a country code selector, and validates the number according to the selected country.

Some form builders and plugins in their free versions do not offer a dedicated phone field, or hide it entirely. SCPV fills that gap by converting an ordinary text input into a fully functional phone number field, so you can collect correctly formatted numbers without upgrading to a premium plan.

It works seamlessly with:

๐Ÿ“จ Contact Form 7
๐Ÿ“ WPForms
๐Ÿ“Š Forminator
๐Ÿ“‘ Gravity Forms
โšก Ninja Forms
๐Ÿ”ง Any other WordPress form plugin
๐Ÿ›๏ธ WooCommerce Checkout(Classic & blocks)

Core Features:

โ€“ Converts any input field into an international phone field
โ€“ Country dropdown with flags and international dial codes
โ€“ Live phone format validation based on the selected country
โ€“ Set a default country globally
โ€“ Apply automatically to all <input type="tel"> 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.

Plugin tags