Skip to main content
Participant
June 17, 2022
Answered

Make updates to form in indesign without losing javascript assigned in acrobat?

  • June 17, 2022
  • 1 reply
  • 1144 views

Many thanks in advance for reading.

 

I export forms made in indesign to pdf and write javascript (beginner) in acrobat.

 

Please tell me there is a way to update the form's design in indesign without having to redo all javascript in acrobat (rollovers, hide/display fields...).

 

Javascript, indesign, acrobat, forms, interactive pdfs.

This topic has been closed for replies.
Correct answer Frans v.d. Geest

Simply 'replace page' in Acrobat with the newly exported InDesign pdf should do it.

1 reply

Frans v.d. Geest
Community Expert
Frans v.d. GeestCommunity ExpertCorrect answer
Community Expert
June 17, 2022

Simply 'replace page' in Acrobat with the newly exported InDesign pdf should do it.

Participant
June 17, 2022

Thank you kindly for your response. 

 

I'm struggling to implement your advice. 

My process: 1. Add button and layer to master form in indesign and export; 2. Open old pdf in acrobat; 3. Select Organize Pages, then Replace, then select newly updated pdf; 4. Press OK.
The new layer has not been created, and the button i put in that layer doesn't exist. 

Any ideas?

m1b
Community Expert
Community Expert
June 17, 2022

I think it works the other way around. Think of it this way:

1. Make all the interactive elements work the way you want (including javascript) in Acrobat on the old pdf.

2. Replace pages (whichever pages you want to replace—can be all of them) of the old pdf, choosing the new pdf.

 

That way all your form stuff will be still there. Note this assumes that your form elements don't move around due to edits in Indesign—if that happens you need to move them manually in Acrobat. It's not ideal but that seems to be how it works.

- Mark