Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Iban validation

Avatar

Avatar
Validate 1
Level 1
Dabo2
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Dabo2
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Dabo2
Level 1

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)

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_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)

Avatar

Avatar
Validate 1
Level 1
Dabo2
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Dabo2
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Dabo2
Level 1

22-02-2016

Hi Bruce,

it works perfectly.
Thank you very much for the help.


Regards

Daniel

Avatar

Avatar
Validate 1
Level 1
Dabo2
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Dabo2
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Dabo2
Level 1

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

Avatar

Avatar
Validate 1
Level 1
Dabo2
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Dabo2
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Dabo2
Level 1

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

Avatar

Avatar
Validate 1
Level 1
Dabo2
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Dabo2
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Dabo2
Level 1

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

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_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