Thanks to visit codestin.com
Credit goes to pl.wordpress.org

Softech Country Phone Validator

Opis

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 works seamlessly with:

📨 Contact Form 7
📝 WPForms
📊 Forminator
📑 Gravity Forms
⚡ Ninja Forms
🔧 Any other WordPress form plugin
🛍️ WooCommerce Checkout(Classic & blocks)

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 <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.

Zrzuty ekranu

Instalacja

  1. Upload the plugin to /wp-content/plugins/ or install via the WordPress plugin dashboard.
  2. Activate through the “Plugins” screen.
  3. Go to Settings > Phone Validator (SCPV) to configure.
  4. Add the .scpv-phone-default class to your phone fields, or define your custom selectors in settings.

Najczęściej zadawane pytania

If something isn’t addressed here, how can we connect with you?

You’re welcome to message us anytime using our Contact form.

Does this support all WordPress form plugins?

Yes! As long as your form has <input> fields, you can use SCPV by adding a class or using the „Apply to all” option.

Is WooCommerce Checkout (Blocks) supported?

Yes. SCPV supports both the Classic and new WooCommerce Block-based checkout.

Can I apply it to all phone fields automatically?

Yes. Enable the „Apply to all tel fields” option in the plugin settings.

Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

Kontrybutorzy i deweloperzy

„Softech Country Phone Validator” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

Rejestr zmian

1.0.3

  • Tested and confirmed compatibility with WordPress 7.0
  • Updated „Tested up to” tag to reflect support for WordPress 7.0
  • Minor stability improvements and code optimizations

1.0.2

  • Fixed incorrect library file paths causing 404 errors on subfolder WordPress installations
  • Corrected utils.js URL resolution to always use the dynamic plugin URL
  • Minor bug fixes and internal code improvements

1.0.1

  • Updated admin settings panel for improved usability
  • Upgraded intl-tel-input library to the latest version
  • Tested and optimized for the latest WordPress version
  • Improved compatibility with WooCommerce checkout
  • Enhanced phone field detection and validation in supported form plugins

1.0

  • Initial release
  • Support for CF7, WPForms, Forminator
  • Admin settings panel added
  • WooCommerce checkout (Classic + Blocks) support
  • Default country and selector options
  • Apply to all <input type="tel"> fields option