Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

167
Views
Acrobat & Javascript - Auto-create duplicate fields (with same name)

I am trying to run the following script as a Custom Command in Adobe Acrobat DC. My dilemma is that only the first field is being generated. Two of my fields MUST have the same name due to an integration with another software platform. How do I get around this?

var sf = this.addField("Field_Name[0]", "signature", 0, [223, 554, 279, 540]);

var sf = this.addField("Field_Name[0]", "signature", 0, [332, 38, 388, 24]);

I seem to be able to create them manually just fine and Acrobat automatically differntiates both fields:

Here is what it looks like in Acrobat

If I open Properties for both of the above fields, the name is indeed identical for both - Acrobat is not appending the #1 to the actual field name.

How do I achieve this same end using javascript?

Thanks in advance for the help and Happy New Year!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!