Multiple masks for phone numbers
Hello community!
I'm trying to set up a mask for my phone numbers field in Acrobat Pro DC.
The problem is I only want one field for the phone numbers to enter, but the length of a mobile number and the ones of the company are different AND a mobile number needs another mask then the ones for the company. And last but not least, the lenght of the company phone number has to be variable.
So.. the mobilenumbers can be 10 or 11 signs long and the companys phone numbers can be 8 to like 13 signs long. And if the lenght changes, the mask must change too..
I tried to write my own JavaScript, but I'm a total beginner and I'm not good enough to write the right one. 😄
the Masks should look something like this:
for the companys: (they have to work international)
(+XX) XXXX-XXX
(+XX) XXXX-XXXX
(+XX) XXXX-XXX XX
(+XX) XXXX-XXX XXX
(+XX) XXXX-XXX XXX-X
(+XX) XXXX-XXX XXX - XX
for mobile: (they have to work international)
(+XX) XXX-XX XXX XX
(+XX) XXX XXX XXX
I hope you understand my problem.
