Skip to main content
July 28, 2016
Question

javascript wont save

  • July 28, 2016
  • 1 reply
  • 1911 views

Hi All,

I'm having a rather bizarre problem when trying to implement javascript into a PDF Form using Adobe Acrobat Pro DC. It doesn't seem like it is using the javascript when the form is saved. Taking an old version of the form, I made a copy of it and tested it in Reader, where the javascript worked correctly. I then opened it in DC and, making no changes, had the option to save it. After saving it when making no changes, the javascript no longer works.

The field names and javascript is all copy and pasted from the working form.

Any help would be much appreciated.

Cheers

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
July 28, 2016

It's not possible to use JS to save a form directly, unless it's backed up by a trusted function in a folder-level script.

July 28, 2016

Thanks for your reply try67. however it seems like you've misinterpreted my problem. The javascript doesn't save the form. The action of saving the form in DC is causing the javascript to stop working, almost like its being told to not work, or not be turned on.

try67
Community Expert
Community Expert
July 28, 2016

Ah, I see. That is strange... What kind of script is this? What's its purpose?
Also, did you write this code, or did someone else?