前言介紹
- 這款 WordPress 外掛「ForgePress Country Choice Rules for Gravity Forms」是 2025-09-15 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-09-16,距離現在已有 162 天。
- 外掛最低要求 WordPress 5.8 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
choices | country | geolocation | gravity forms | conditional logic |
內容簡介
總結:
ForgePress Country Choice Rules for Gravity Forms可以讓你定義規則,在選定的國家中刪除某些選項(對應收音機、下拉選單、復選框選項),這是在伺服器端進行的,你還可以設置一個備用選擇,以在選項被刪除時自動選擇。
問題:
1. ForgePress Country Choice Rules for Gravity Forms可以用來做什麼?
2. 它的主要亮點是什麼?
3. 外掛如何處理VPN/Proxy?
4. 外掛使用了哪些第三方服務?檢測訪客國家和VPN/Proxy的使用是如何進行的?
5. ForgePress Country Choice Rules for Gravity Forms與Gravity Forms是否有關聯?
6. 如何建立規則?
7. 外掛如何在運行時執行?
8. VPN/Proxy的處理方式有哪些選項?
原文外掛簡介
ForgePress Country Choice Rules for Gravity Forms lets you define rules that remove specific choices (radio, dropdown, checkbox options) for visitors from selected countries. This happens server-side (secure), and you can configure a fallback choice to auto-select when an option is removed.
Highlights
Per-country choice blocking for radio, dropdown, and checkbox fields
Multi-form / multi-field rules (simple repeater UI)
Fallback choice (optional) if a blocked option is removed
Server-side filtering (not just CSS/JS hiding)
Optional VPN/Proxy handling:
Do nothing
Show warning message
Force a default country for rule evaluation
Block submission with a custom message
Cloudflare aware (CF-IPCountry) with 1h caching for IP lookups
Lightweight and admin-friendly
This plugin is not affiliated with or endorsed by Gravity Forms. It simply integrates with Gravity Forms via its standard hooks.
How it works (in short)
You add rules: Form ID + Field ID + Choice Text/Value + Countries (+ optional fallback).
On render/validation, the plugin detects the visitor country.
If a rule matches, the corresponding choice(s) are removed and an optional fallback is selected.
External Services & Data Flow (Guideline 6)
This plugin may use third-party services to determine the visitor’s country and (optionally) detect VPN/Proxy usage.
Cloudflare (if your site is on Cloudflare):
We read the CF-IPCountry header provided by Cloudflare. No outbound request is made by this plugin.
Privacy: https://www.cloudflare.com/privacypolicy/
ipapi.co (free) (default geolocation when Cloudflare is not present):
The plugin requests https://ipapi.co/{IP}/json/ to map visitor IP → country.
Data sent: visitor IP only.
Retention: result cached in WordPress for 1 hour.
Privacy: https://ipapi.co/privacy/
Optional VPN/Proxy checks (opt-in by the site admin):
ipregistry.co (if an API key is configured):
Data sent: visitor IP to check proxy/VPN indicators.
Privacy: https://ipregistry.co/privacy
ipapi.com PRO (if an API key is configured):
Data sent: visitor IP with security=1 to check VPN/Proxy/Tor.
Privacy: https://ipapi.com/privacy
No form entries or personal form fields are sent to these providers. Admins can disable optional VPN checks entirely.
GDPR/Privacy: Only an IP address may be sent to the selected provider(s) to derive country/VPN status. You should disclose this in your site privacy policy if enabled.
Notes on Naming / Trademarks
This is an independent plugin for Gravity Forms and is not affiliated with or endorsed by Gravity Forms. The name and readme make this relationship clear.
Features in Detail
Rule builder UI under Settings → ForgePress Country Choice Rules
Add multiple rows; each row targets a Form ID + Field ID, the choice label/value, and a list of countries (ISO-2).
Optionally set a Fallback choice to auto-select if the blocked option is removed.
Runtime enforcement
Choices are removed on gform_pre_render and validated on gform_validation.
If a blocked value is posted manually, validation fails with a clear message.
VPN/Proxy handling
Admin can choose: Do nothing, Show warning, Force country, or Block submission.
Works without an API key (heuristics). With a key (ipregistry/ipapi PRO), detection is more accurate.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「ForgePress Country Choice Rules for Gravity Forms」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Gravity Forms Zero Spam 》這個 Gravity Forms 的外掛使用不會打擾使用者的防 spam 措施來封鎖垃圾郵件。您不需要進行任何設定或組態,只需要啟用這個外掛!, Gravity Forms 蜜罐欄位沒...。
Advanced Custom Fields: Gravity Forms Add-on 》提供進階自訂欄位 (Advanced Custom Field),讓 WordPress 編輯使用者或管理員可以在欄位群組配置中選擇 Gravity Form。, 可以在 外掛的 GitHub 存儲庫 中找...。
Gravity PDF 》Gravity PDF 是使用 Gravity Forms 和 WordPress 創建動態數字 PDF 文件的最佳自助式解決方案。, 高度自定義的 PDF, 開箱即用的版本提供了四種高度自定義的 P...。
Event Tracking for Gravity Forms 》, Gravity Forms 推出了官方 Google Analytics 外掛,這是本外掛的後繼者。, , 透過 Google Analytics 和 Google Tag Manager,本外掛提供了一個簡單的方法來...。
WP Contact Slider – Contact Form Slider Widget 》P WP聯繫滑塊是一個簡單的聯繫滑塊,用於顯示Contactform7、Gravity forms、Ninja Forms、Wp Forms、Caldera forms、Constant Contact Forms或顯示隨機文本或...。
Gravity Forms CLI Add-On 》Gravity Forms CLI 外掛可讓 WP-CLI 使用者在命令列上管理表單、條目等功能。, 文件, 表單管理, , 條目管理, , 開始使用, , wp help gf, wp help gf form, wp...。
Gravity Forms No CAPTCHA reCAPTCHA 》這個 WordPress 外掛可以在 Gravity Forms 表單建構器中新增一個「No CAPTCHA reCAPTCHA」欄位類型,並提供淺色/深色主題選項。帶有「No CAPTCHA reCAPTCHA」...。
Gravity Forms Email Blacklist 》Gravity Forms 的 Email Blacklist 外掛旨在協助阻擋來自使用通用或競爭對手電子郵件地址的使用者的提交。防止使用者查看表單的確認或通知,並去除不合格的潛...。
Gravity Forms + Custom Post Types 》此外掛可將 Gravity Forms 生成的文章對應至自訂文章類型和/或自訂分類,無需任何程式設計。, 介紹, 此外掛為 Gravity Forms 的附加元件,您可以造訪 Gravity...。
Multiple Columns for Gravity Forms 》啟用此外掛後,可以將 Gravity Forms 元素分成多欄顯示。插件將會在一個名為「Multiple Columns Fields」的群組內加入三個新元素(「Row Start」、「Column B...。GravityExport Lite for Gravity Forms 》, GravityExport 是從 Gravity Forms 匯出資料的最佳、無需麻煩的解決方案。, GravityExport 提供強大的新功能!可將匯出儲存至 FTP 和 Dropbox、匯出為 PDF...。
Surbma | Divi & Gravity Forms 》, 這個外掛程式可以為 Gravity Forms 增加 Divi 主題的表單樣式,非常輕量化,CSS 壓縮以降低載入時間。, 此外掛程式支援 GF 2.5 標記和 2.6 內嵌按鈕功能,...。
Contact Listing for WP Job Manager 》使用 WP Job Manager 外掛的網站可以使用任何支援的外掛,並允許訪客直接聯繫連接的應用程式電子郵件(或簡歷作者)。, 支援的表單外掛, , Gravity Forms, Ni...。Gravity Forms CSS Ready Class Selector 》, 這個外掛是讓您更好地搭配使用令人驚豔的 Gravity Forms 外掛的附屬元件。, 歡迎查看我提供的其他免費的 Gravity Forms 外掛附屬元件, , 此外掛相容於 Gr...。
WCAG 2.0 form fields for Gravity Forms 》, 此外掛是 Gravity Forms 的附加元件。如果您還沒有擁有 Gravity Forms 授權,請 現在購買!(聯盟網路連結), , 此外掛的功能是什麼?, , 將單選、勾選框和...。
