[WordPress] 外掛分享: MDL Local Service Lead Validator

首頁外掛目錄 › MDL Local Service Lead Validator
WordPress 外掛 MDL Local Service Lead Validator 的封面圖片
全新外掛
安裝啟用
尚無評分
11 天前
最後更新
問題解決
WordPress 5.5+ PHP 7.4+ v1.0.0 上架:2026-06-03

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「MDL Local Service Lead Validator」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

MDL Local Service Lead Validator helps local service businesses stop receiving leads from outside their service area. When a visitor fills in a phone number on a contact or lead form, the plugin checks the area or regional code against your configured service area. If the number is outside your allowed coverage, the submission is blocked and the visitor sees your warning message.
How it works

You configure your service area in Lead Validator > Settings.
The plugin builds and stores the allowed code list from your selected countries, regions, or manual entries, and also stores the structured picker selection used by the admin UI.
When a visitor submits a form, the plugin validates the number in the browser for instant feedback and on the server for supported integrations.
Valid numbers submit normally. Invalid numbers are blocked and show your warning message.

Admin screens

Lead Validator > Settings: General, International, and Logging tabs
Lead Validator > Form Overrides: per-form allowed code lists
Lead Validator > Blocked Leads: blocked submission log with CSV export

Validation modes

NANP: for standard US and Canada style numbers
International: for non-NANP countries or multi-country setups

The General tab controls which countries and regional codes are allowed. The International tab controls how those selected countries are parsed when international mode is enabled.
Supported form plugins

Contact Form 7 (free)
WPForms (free and Pro)
Gravity Forms
Elementor Pro Forms
Generic HTML forms — any

on the page via client-side JS, plus an optional AJAX endpoint for custom server-side validation

Features

Two-layer validation for supported integrations: client-side JavaScript (instant) + server-side PHP (secure)
World country and region picker for building allowed code lists
Configurable list of allowed codes (comma or newline separated)
Customisable warning message
Configurable CSS selectors for phone fields and target forms
NANP and international parsing modes
Country-specific international parsing overrides
Per-form area code overrides
Blocked lead logging with CSV export
Multisite support with network-wide default codes
Accessible warning UI (role="alert", keyboard focus management)
Fully internationalised — translation-ready with .pot file included
No external API calls — all validation is local
Cleans up all data on plugin deletion

Privacy
This plugin does not transmit any data to external servers. All phone number validation is performed locally on your WordPress installation.

延伸相關外掛

文章
Filter
Mastodon