A lightweight WordPress plugin that restricts Contact Form 7 submissions to only allow organization (corporate) email addresses. It dynamically validates the email field both on the server and client side, blocking common personal email domains like gmail.com, yahoo.com, hotmail.com, etc.
✅ Block personal email domains (configurable list)
✅ Works with multiple CF7 forms or globally on all forms
✅ Easy admin settings to manage form IDs, field names, blocked domains
✅ Instant client-side validation + secure server-side validation
✅ No custom database tables – all settings stored safely in WordPress options
-
Download or Clone this repository into your
wp-content/plugins/directory.https://github.com/overandall/restrictcontactformorgemail.git