Hey @ahmadnasriya , thanks for answering again. My backend function is based in the node-module iban , it’s the following:
var IBAN = require('iban');
export function validarIBAN(iban){
let status = IBAN.isValid(iban);
if (status){
return ({
'status': true,
'iban': IBAN.electronicFormat(iban),
'err':null
});
}
else{
return ({
'status': false,
'iban': null,
'err': "IBAN erroni o no vàlid. Comprova'l i torna a provar"
});
}
}