Answered
I have some problems concerning one text field in my acrobat form.
One text field of my form contains a "matrikel"-number of the students (for example: 123456). These number must be changed to the format: "000000123456".
Is there a script for adding "Zeros" in front of the imported number, until the number has 12 digits (with leading "Zeros") ???
Kind Regards
Holger
a="1234";
for (i=12-a.length; i>0; i--) a="0"+a;
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com