AQM Formidable ZIP & State Whitelist (Hardened) WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
WordPress plugin for Formidable Forms that restricts form submissions by ZIP code and US state. Auto-detects location fields with hardened security protection.
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/justcasey76/aqm-formidable-zip-whitelist/releases/download/v1.10.34/aqm-formidable-zip-whitelist.zipServer-side ZIP/State allowlist for Formidable Forms. Auto-detects location fields, validates submissions, and blocks unauthorized locations with hardened security against Unicode/invisible character attacks.
Features
- Automatic Field Detection - Automatically finds ZIP/postal and state/province fields in your forms
- ZIP Code Validation - Support for 5-digit and extended format ZIP codes
- State Validation - Accepts both state codes and full state names
- Hardened Security - Protection against Unicode/invisible characters and fullwidth character attacks
- Double Enforcement - Validation on both form submission and entry creation/update
- User-Friendly Interface - Step-by-step setup guide with clear instructions
Requirements
- WordPress 5.0+
- Formidable Forms plugin (active)
- PHP 7.4+
Installation
- From zip (recommended): Download the release zip from GitHub Releases. In WordPress go to Plugins → Add New → Upload Plugin, choose the zip, then Install Now and Activate.
- From folder: Upload the
aqm-formidable-zip-whitelistfolder to/wp-content/plugins/, then activate via Plugins in WordPress. - Navigate to Location Whitelist in the WordPress admin menu.
"Plugin file does not exist" after activating
This usually means WordPress has a stale or wrong plugin path (often from a duplicate folder or a bad zip). Fix it:
-
Remove duplicate folders
In/wp-content/plugins/delete any extra copies, e.g.aqm-formidable-zip-whitelist-1oraqm-formidable-zip-whitelist (1). Keep only one folder:aqm-formidable-zip-whitelistcontainingaqm-formidable-zip-whitelist.php. -
Clean active plugins
If the error persists, deactivate the plugin (if it appears in the list), then remove the broken entry from the database: inwp_optionsfindactive_pluginsand remove the line foraqm-formidable-zip-whitelist-1/aqm-formidable-zip-whitelist.php(or any path that doesn’t match your single folder). Then activate again from Plugins. -
Reinstall from GitHub
Use the zip from the Releases page (built with correct paths). Avoid zips built on Windows with tools that use backslashes inside the archive.
Quick Setup
- Select which forms should have location validation
- Enable ZIP and/or State validation
- Enter allowed ZIP codes (one per line) and/or states (comma-separated)
- Customize error messages (optional)
- Save settings
License
GPL-2.0+ (Same as WordPress)
Author
AQ Marketing (Justin Casey)
Releases
Newest 25 of 41 recorded releases. Each count is every asset in that release; expand a row for the breakdown.