IBAN Validator
Categories
Component ID
1936168
Component name
IBAN Validator
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
438
Component created
Component changed
Component body
This module, based on PHP-IBAN library, implements a validation plugin for Field validation module.
Dependencies
- Libraries API
- Field validation
- PHP-IBAN (external library)
Library installation
- Download ZIP archive from https://github.com/globalcitizen/php-iban;
- Extract all files contained in the project folder to [/sites/all]/libraries/php-iban/ Drupal folder.
Usage example
- Open the "Structure" administration page;
- Go to "Content types" section and "Manage fields" to extend your entity (node, user, etc.);
- Create a plain text field to store IBAN;
- Go to "Field validation" section and add and configure a validation rule by selecting "IBAN" as validator.
Credits
Similar projects
IBAN Field module provides an IBAN-dedicated field with its own validator via the Drupal Field API and Webform API.
