Skip to main content
New Participant
January 18, 2023
Answered

Adobe Acrobat-Formular: How to automatically give copy pasted fields a new name

  • January 18, 2023
  • 1 reply
  • 1024 views

Hello I am working on a PDF form and have a question.

 

I have a long list with several rows.

I want to copy a row and give the fields an automatic name when I paste them. If I just copy paste it, the name stays the same. Is it possible to use a script or something similar to automate it?

 

Can you copy paste a field and automatically assign name with counter + 1 ? (like i++)

Can you copy paste multiple fields and automatically assign names with counter + 1?

(see screenshot)

 

Does something like this work? Would save me a lot of pointless work.

This topic has been closed for replies.
Correct answer Thom Parker

The best you can do is use the "Create multiple copies" tool.  It's available from the right click popup menu, when the form is in "Prepare Form" mode.

 

 

1 reply

Thom Parker
Thom ParkerCorrect answer
Community Expert
January 18, 2023

The best you can do is use the "Create multiple copies" tool.  It's available from the right click popup menu, when the form is in "Prepare Form" mode.

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
New Participant
January 19, 2023

Hi Thom, sry he already assigns unique names. Thanks for the hint. It saves me a lot of time and nerves. Awesome