Linux 软件免费装

ForgePress Country Choice Rules for Gravity Forms

开发者 forgepress
更新时间 2025年9月17日 01:31
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

gravity forms country geolocation conditional logic choices

下载

详情介绍:

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 How it works (in short)
  1. You add rules: Form ID + Field ID + Choice Text/Value + Countries (+ optional fallback).
  2. On render/validation, the plugin detects the visitor country.
  3. 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. 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 Installation
  1. Install and activate Gravity Forms first.
  2. Upload the plugin ZIP and activate ForgePress Country Choice Rules for Gravity Forms.
  3. Go to Settings → ForgePress Country Choice Rules to add rules.
  4. (Optional) Configure VPN/Proxy handling and provider API key(s).
Frequently Asked Questions Does this work without JavaScript?\ Yes. Filtering is server-side. What happens if the user is on a VPN?\ By default, geolocation is based on the detected IP, which may reflect the VPN’s exit node. You can enable VPN/Proxy handling: show a warning, force a default country for rule evaluation, or block the submission. For higher accuracy, add an API key for ipregistry or ipapi PRO. How do I find Field IDs and Choice values?\ In the Gravity Forms editor, each field shows an ID. Choices have text and value; match either (the plugin compares case-insensitively). Is this compatible with caching?\ Yes. Country detection is per-request and cached (IP result for 1 hour). For full-page caching, ensure your CDN/proxy varies cache by country (or bypass cache on form pages) if you need per-country differences on the same URL. Is there a performance impact?\ Minimal. A single fast IP lookup is cached; Cloudflare country header avoids lookups entirely. Screenshots
  1. Rules UI – Add rules per form/field with countries and optional fallback
  2. VPN/Proxy settings – Choose action, set forced country, optional API and messages
  3. Frontend – Choices removed per country; fallback auto-selected (if configured)
Changelog 1.3.0 Upgrade Notice 1.3.0 Renamed to ForgePress Country Choice Rules for Gravity Forms. If you used a previous ForgePress build, your settings will migrate automatically.