Skip to main content
Participant
March 5, 2024
Question

js that only works on current page?

  • March 5, 2024
  • 1 reply
  • 863 views

Hey guys,

 

my problem is that populated fields only works one the first page after being copied.

When i copied the same file into it, it said that all the fieldnames with the exact same name will become "one", could i do something against that?

 

i have a document/page that i need to have 2,3,4 or 5 times in inside the same pdf, with same fieldnames but i still wanna use the populate function to be working, does someone have an idea? i hope you get what i mean, my english is not the best for these typ of things.

 

 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
March 5, 2024

You will have to rename the fields for them to be unique. One easy way of doing that is to define the page as a Template, and then spawn copies from it using a script. The script can set all the fields to be renamed automatically.

I've developed a (paid-for) tool that allows you to do it with just a couple of clicks:

https://www.try67.com/tool/acrobat-duplicate-pages-of-a-pdf-file-including-form-fields

 

I'm not sure what you mean about using the "populate function" to fill them in, though.

RaWiApAuthor
Participant
March 5, 2024

That doesnt work cuz it needs to work in the mobile version(app).

I think it doesnt work atm, right?

try67
Community Expert
Community Expert
March 5, 2024

You can't run the script itself on a mobile device, but you can run it on a regular desktop computer, and the file that will be generated by it will work on such a device.