Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Add sequential numbers

New Here ,
Jun 29, 2016 Jun 29, 2016

I’m work on a form in Adobe Acrobat Pro that I want to be able to add the first number (20160001) and I want it to add 1 to each of the following field so that it will read 20160001, 20160002, 2016003 up to 20160016. Can anyone tell me how this is done, so I do not have to manually enter all numbers? But I need to be able to change the starting number.

Thank you,

TOPICS
Acrobat SDK and JavaScript
206
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 29, 2016 Jun 29, 2016
LATEST

There are two approaches to doing it. You can use the custom validation script of the first field to populate the rest, or you can use the custom calculation script of the other fields.
The first approach is probably easier because you only need to place the code in a single location, but you need to let us know what are the names of the other fields if you want the code that does it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines