This add-on for Gravity Forms adds the option to validate if the users’ input is a valid IBAN bank account number.
The cheeck is done when the user submits the form and it will show an error if the input is not correct. Only if this error is resolved the form can be actually be submitted.
In case of an invalid IBAN account number, the default Gravity Forms error message will be displayed in the language that Gravity Forms is set up in.
By installing this plugin besides Gravity Forms (premium plugin) you will be able validate IBAN account numbers through two ways:
[____ ____ ____ __]). It validates the account number when submitting the form.wp-config.php and replace the following comment:
/* That’s all, stop editing! Happy blogging. */…with the following piece of code:
define('GF_IBAN_LENGTH', '22');
/* That's all, stop editing! Happy blogging. */ [child-theme]/functions.php and add the following code to the bottom of that file:
add_filter( "gform_input_mask_script", function($script, $form_id, $field_id, $mask) {
if ($mask == "iban") {
$mask_length = defined('GF_IBAN_LENGTH') ? (int) constant('GF_IBAN_LENGTH') : 18;
$mask_string = rtrim( chunk_split( str_repeat( '*', $mask_length - 4), 4, ''), '');
$script = "jQuery('#input_{$form_id}_{$field_id}').css('text-transform','uppercase').mask('aa99?{$mask_string}');";
}
return $script;
}, 10, 4 ); wp-config.php and replace the following comment:
/* That’s all, stop editing! Happy blogging. */…with the following piece of code:
define('GF_IBAN_PHPIBAN', false);
/* That's all, stop editing! Happy blogging. */ You just might want to validate a IBAN account in a Gravity Form, or help the visitor ensure he filled in his IBAN number correctly. Let us help you do so!
Version 1.0.8
Release Date: August 24th, 2026
mask() from jQuery to native JSVersion 1.0.7
Release Date: June 15th, 2026
gform_input_mask_script hookVersion 1.0.6
Release Date: July 6th, 2023