Skip to main content
Participant
May 27, 2019
Question

PDF workflow with javascript

  • May 27, 2019
  • 1 reply
  • 346 views

I am using Indesign to create interactive PDF's with forms. I want to add some custom made calculations with javascript. This should be done in Acrobat to my best knowledge.

How should I edit a document without losing the javascript every time I update the document in Indesign?

Is there a way to save the javascript in an external file and include it every time I update the document!

Or is there some hidden feature which I am unaware of in Indesign!

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
May 27, 2019

I think these questions should be asked over at the InDesign forum, but from my experience it is best to do all the forms and scripting work in Acrobat. If you need to update the underlying design do so in ID and then create a new PDF and use the Replace Pages command in Acrobat to replace the old file's pages with the new ones, which will keep all of your fields and scripts in tact.

But doing "round-trips" between Acrobat and ID tend to cause nothing but problems, unfortunately.