How to validate IBAN entered on the form?

  • Profile Image
    Asked on April 02, 2016 at 08:07 AM



    Do you have a field type for IBAN validation?


    The International Bank Account Number (IBAN) is an internationally agreed system of identifying bank accounts across national borders to facilitate the communication and processing of cross border transactions with a reduced risk of transcription errors.

    Validating the IBAN[edit]

    An IBAN is validated by converting it into an integer and performing a basic mod-97 operation (as described in ISO 7064) on it. If the IBAN is valid, the remainder equals 1.[Note 1] The algorithm of IBAN validation is as follows:[8]

    Check that the total IBAN length is correct as per the country. If not, the IBAN is invalid Move the four initial characters to the end of the string Replace each letter in the string with two digits, thereby expanding the string, where A = 10, B = 11, ..., Z = 35 Interpret the string as a decimal integer and compute the remainder of that number on division by 97

    If the remainder is 1, the check digit test is passed and the IBAN might be valid.

    Example (fictitious United Kingdom bank, sort code 12-34-56, account number 98765432):

    • IBAN:   GB82 WEST 1234 5698 7654 32  
    • Rearrange:   W E S T12345698765432 G B82  
    • Convert to integer:   3214282912345698765432161182  
    • Compute remainder:   3214282912345698765432161182 mod 97 = 1
  • Profile Image
    Answered on April 02, 2016 at 08:29 AM

    I'm afraid we do not have IBAN validation, so if you want to validate if a certain input is a valid IBAN number, you will have to use the source code of the form and add your own custom script into the form to perform the validation:

    You may also want to take a look at the previous threads were this was discussed:

    Please let us know if you need any further assistance, we are here to help.

  • Profile Image
    Answered on April 04, 2016 at 04:16 AM

    Thanks for the information, I will try!!

    But I am not very good at programming!!

    Is there a process to request this as a feature?

    I believe it would be a very useful field that would be used by many people

  • Profile Image
    Answered on April 04, 2016 at 05:13 AM

    I'm researching IBAN, unfortunately, I believe you won't be able to add it in your form. If I am not mistaken IBAN are bank account numbers? These are considered sensitive information and may not be collected using Jotform forms, please do check our terms of use page here: If you are asking for payments, from your users, it is a must to use our payment integrations. To setup an order or payment form, please follow this guide: 

    However, we can make an exception, only if you send a proof that your business is related to : MORTGAGE BROKER, INSURANCE BROKER BANK, Real Estate Broker, LENDING INSTITUTIONS and the like. 

    In such case, collecting bank accounts can be allowed and it's not illegal. 

    However, many phishers will still use our form builder to steal this very sensitive information and there is no guarantee that your forms won't be marked as suspicious by our system, specially if the account is on free status.

    In the case of your business being in mentioned legal businesses above, we advise to build the form to gather this info, but a signature field must be added, so your clients will be signing to be in agreement with providing such information.

    To make this to work, your account must be on paid status , so the automated system will mark it still high, but won't be automatically suspended, and our Form Reviewers Team (who are in charge of manually checking forms on paid accounts) would set the form as exception. Otherwise the system will mark suspicious and suspend all forms on free accounts.

    You can check this discussion about collection of bank information: If your business is not in any of the industries mentioned, I believe you are not allowed add a plain form field asking for IBAN in the forms. Your account will most likely be suspended if you collect bank information using Jotform forms.

    I hope that helps.

  • Profile Image
    Answered on April 04, 2016 at 07:22 AM

    What I am looking for is a form where my customers register and then select their preferred method of payment. i.e cash or Direct Debit.


    If they select direct debit then I need to get their IBAN (bank account number) so that my bank can charge them. If this is not possible I will need get my customers to complete a paper based form as they are now.

    I do intend to get a paid account, if after testing I find that the solution meets my requirements.

  • Profile Image
    Answered on April 04, 2016 at 09:34 AM

    As my colleagues have already explained, you can't get your users IBAN through Jotform forms because of security policies on our system. However, you can easily get the payment details of the users and let them pay later. To do that, we need to create a form with  the payment tool which has pay later option. In order to do that you can find the necessary steps from the below:


    In addition, you can also provide a several payment options to your users in one form. In order to do that, you need to follow the instructions from the below:

    Please, take a look this solution; but please remember that you can't accept IBAN information from your form. Also, don't forget to let us know your thoughts.