Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Lookup for Bank Numbers on Adobe LiveCycle

$
0
0

Hello everyone

 

On a PDF form for Personal Data I want from the field Bank Account Nr. to automatically pull out the Number of the Bank. The problem is that there are nearly 8000 Bank Numbers for Switzerland. The idea is from the Bank Account Number to pull out the Search Number and from that Search Number to pull out the corresponding Bank Number. Here is a fictional example:

Bank Account Number: CH5809000000803940838.

Search Number: 09000 . It pulls out the first 5 characters from the fifth character (when multiplied with 1 I get the search number 9000).

Bank Number: 90000000 (the corresponding Bank Number for 9000)

The problem is that for some Search Number the corresponding Bank Number is completely different (example: Search Number equals 6368 but the actual Bank Number is 895425)

My PDF Form has already a Data Connection with a xsd file to generate other Personal Data fields. I know that is possible to generate the condition with a very large if statement (with thousands of if statementsfor every Bank Number) but is there maybe a simpler solution. Maybe a smaller java script formula or something similar.

My company needs this PDF Form because we want to export the data in XML.

 

I appreciate every possible help.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>