IBAN for Contact Form 7 WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
IBAN for Contact Form 7 (WordPress Plugin)
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/koobm/iban-for-contact-form-7/releases/download/v1.1/iban-for-contact-form-7-v1.1.zipA WordPress plugin that adds an IBAN (International Bank Account Number) form field to Contact Form 7. It provides automatic input formatting and full server-side validation including country-specific format checks and checksum verification.
Features
Form Tag Generator
Adds an "IBAN" button to the Contact Form 7 editor toolbar. Click it to generate a properly configured IBAN field — no need to remember the tag syntax.
Input Formatter
Automatically formats user input on blur:
- Converts to uppercase
- Strips invalid characters
- Inserts a space every 4 characters for readability
Validation
Validates submitted IBANs server-side using the php-iban library:
- Country code and length checks
- IBAN checksum verification (MOD-97)
- Blocks form submission with a configurable error message on invalid input
Usage
In the Contact Form 7 editor, use the tag generator button or add the tag manually:
[iban your-iban] # optional field
[iban* your-iban] # required field
In your mail template, use [your-iban] to include the submitted value.
Installation
- Download the latest release or clone this repository into
wp-content/plugins/. - Activate the plugin in Plugins > Installed Plugins.
- Ensure Contact Form 7 is installed and active.
Requirements
| Dependency | Version |
|---|---|
| WordPress | 4.6 or higher |
| PHP | 7.2 or higher |
| Contact Form 7 | 4.6 or higher |
FAQ
How do I customize the error message?
Go to your form's Messages tab in the CF7 editor and find the "Invalid IBAN" field.
Can I style the IBAN input field?
Yes — the input has the CSS class wpcf7-iban. Target it with .wpcf7-iban in your stylesheet.
Is it safe to deactivate?
Yes. Existing forms will retain the [iban] tag in their configuration but the field won't render until the plugin is reactivated. No data is lost.
Changelog
1.1
- Aligned with Contact Form 7 6.0 tag-generator design
- Isolated php-iban into a separate namespace
- Tested with CF7 6.1.5 and WordPress 6.9
1.0
- Initial release with php-iban 4.2.3
Credits
IBAN validation is powered by the php-iban library (v4.2.3) by globalcitizen, licensed under LGPLv3.
License
This plugin is licensed under the GNU General Public License v2.0 or later.
Releases
2 releases. Each count is every asset in that release; expand a row for the breakdown.