Copy link to clipboard
Copied
I have a number of javascript functions in a form, and they all are working. However, it appears that the form stops processing any javascript functionbs, and I am forced to completely exit Acrobat and restart it. Then all the functions work as expected.
Has anyone else experienced this? I happens both on iOS (Acrobat DC Pro v 2019.012.20036) and Windows (Acrobat X v 10.1.16).
Copy link to clipboard
Copied
There is no Acrobat Pro on iOS. Macos?
Copy link to clipboard
Copied
I am sorry. My mistake. Yes. MacOS, not iOS.
Copy link to clipboard
Copied
Does you use Acrobat Reader or Adobe Acrobat?
Copy link to clipboard
Copied
I use both Acrobat Reader and Acrobat Pro.
Copy link to clipboard
Copied
jimc39793961 schrieb
I use both Acrobat Reader and Acrobat Pro.
Not all Javascript code will work in Acrobat Reader.
Copy link to clipboard
Copied
Thanks Bernd. I am aware of that, but the scripts I am running do work in both. Eventually Acrobat (reader AND Pro) stops executing the JavaScript and I am forced to shut down Acrobat, restart it, and reload my PDF. Then everything works again. Very frustrating.
Copy link to clipboard
Copied
You can open the console/debugger with ctrl-j or cmd-j.
Copy link to clipboard
Copied
Thanks. I will do that the next time this occurs and respond with the contents of the console/debugger.
Copy link to clipboard
Copied
Ok, since you are on Mac or Windows, the JavaScript console is available to you. Do any messages appear? If the messages stop, what is the last one?
Copy link to clipboard
Copied
Hmmmm. Looks like I have runs a number of other PDF files and scripts. I will clear and try to reproduce the error. Do I also need to have the debugger enabled in my Preferences?