Skip to main content
kw56077797
Participant
August 22, 2017
Answered

Javascript Not Saving in PDF Form

  • August 22, 2017
  • 1 reply
  • 1158 views

I'm using Adobe Acrobat DC.

I currently have custom calculation scripts. (In the form property, under Calculate, I have my own custom scripts)

It works fine and when I click preview, the code runs.

However, when I save the PDF, open it in preview and attempt to interact with it, the javascript is not activated.

I then open them in Adobe Acrobat and all of a sudden all my custom scripts are gone.

It seems like when I open it in Preview and attempt to interact with it, the scripts disappear. Is there anything I can do to prevent the scripts from disappearing?

This topic has been closed for replies.
Correct answer Bernd Alheit

Don't use Apple Preview!

1 reply

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
August 22, 2017

Don't use Apple Preview!

Participant
June 25, 2024

It is not only Mac Preview, is also Adobe Acrobat Reader behaviour on Mac.