Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
bgColorwhite

BankAccount


This type checks whether a bank account number is valid. You can use this validation on attributes of base type string.

Syntax

Code Block
<type><locale>
  • Type - The type can be either 'bank' for bank account numbers or 'giro' for giro account numbers, or a combination 'bank/giro'.

  • Locale - Specify the country code for which you want to validate the bankaccount number, e.g. nl_NL for the Netherlands.

Examples

  1. Assume you have added the validation type BankAccount with parameters <bank><nl_NL> to the attribute Client.BankaccountNr, then

    • Client.BankaccountNr = “123456789” is valid;

    • Client.BankaccountNr = “123456780” is invalid.

  2. Assume you have added the validation type BankAccount with parameters <giro><nl_NL> to the attribute Client.BankaccountNr, then

    • Client.BankaccountNr = “P55555” is valid;

    • Client.BankaccountNr = “55555” is invalid.

Please see also Validation type: IBAN

Back to top