Iban validation

Dabo2

15-02-2016

Hi,

LCD ES4

I have a Iban field and a BicSwift field.

For validation of the Iban I copied the script object "GitHub" BR001_ACP of 16 May 2014 and the button.

Unfortunately it does not work for me.

Thank you in advance for your help.

Daniel

Accepted Solutions (1)

Accepted Solutions (1)

_Bruce_Robertson

MVP

22-02-2016

Hi Daniel,

You'll need to change the button click event code to call the validate routine, something like;

 

if (GitHub.IBAN().isValid(Iban.rawValue)) {

    // do something when valid

    app.alert('valid')

}

else {

    // do something if invalid

    app.alert('invalid')

}

 

Regards

Bruce

Answers (5)

Answers (5)

Dabo2

19-02-2016

Hi Bruce

From your IBAN model, here's how I would use: 1  Iban field + Validation Button
I tried on another pc with Acrobat Pro 11 and Reader 11, but nothing happens.

IBAN2.pdf - Google Drive

Daniel

Dabo2

18-02-2016

Bruce,

My  Acrobat DC trial period has ended, and this message appeared when I tried your form:

"The loading of an application resource failed (internal error)"

This may be the reason it's not working?

Daniel

Dabo2

18-02-2016

Hi Bruce,

Yes, it is this version, with the script object and a button.


I added a iban field and called the  IBAN function "GitHub" by an action created with Action Builder.
It happens so nothing I added a text field that says: "Pointer: and a number" after entering an IBAN number and click the button. (?)


I'll send you a link.

Thank you

Daniel

_Bruce_Robertson

MVP

18-02-2016

Hi Daniel,

Is this the version you tried, https://sites.google.com/site/livecycledesignercookbooks/home/IBAN.pdf?attredirects=0&d=1,  There was a couple version at one time.  Seems to still be working for me ... do a ctrl-J so you can see the console output.

Are you getting any error messages.  Happy to look at your form If you post a link to it.

Bruce