Skip to main content
sassy01ss
Participant
April 10, 2019
Question

PDF Form _ Text Field Name differen't

  • April 10, 2019
  • 2 replies
  • 3755 views

I have a 50 page document. Each page has the same exact content on it, however i need the text fields on each page named differently so that the text doesn't duplicate through the entire document. Is there a way to do that without having to do it one by one?

This topic has been closed for replies.

2 replies

Thom Parker
Community Expert
Community Expert
April 11, 2019

A template is an excellent way to do this, but it does give you necessarily long field names.

Since you have to write a script to access all the fields anyway, another technique is to write a script to copy fields from one page to all the other pages with your own naming convention. This is the method I use most.

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
sassy01ss
sassy01ssAuthor
Participant
April 11, 2019

I have spent hours changing each fields name, and still have a long way to go.  You say i dont have to do this by just doing a script? How do i do that?????

TᴀW
Legend
April 11, 2019

Do you care what the fields' names are, or is anything ok so long as it's unique?

Visit www.id-extras.com for powerful InDesign scripts that save hours of work — automation, batch tools, and workflow boosters for serious designers.
Inspiring
April 11, 2019

When I encounter this, I use a template of the form to spawn new pages as needed and set the script to rename the fields. This will result in a name with format of "P#.templateName.fieldname, A Lesson in Templates. You will still need to copy and move the fields as needed, but you can rename the by using the high level "P#." value.