Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Javascript appears to stop working in Acrobat Reader

New Here ,
Aug 15, 2019 Aug 15, 2019

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).

2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 15, 2019 Aug 15, 2019

There is no Acrobat Pro on iOS. Macos?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 16, 2019 Aug 16, 2019

I am sorry. My mistake. Yes. MacOS, not iOS.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 16, 2019 Aug 16, 2019

Does you use Acrobat Reader or Adobe Acrobat?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 16, 2019 Aug 16, 2019

I use both Acrobat Reader and Acrobat Pro.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 16, 2019 Aug 16, 2019

jimc39793961  schrieb

I use both Acrobat Reader and Acrobat Pro.

Not all Javascript code will work in Acrobat Reader.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 16, 2019 Aug 16, 2019

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 16, 2019 Aug 16, 2019

You can open the console/debugger with ctrl-j or cmd-j.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 16, 2019 Aug 16, 2019
LATEST

Thanks.  I will do that the next time this occurs and respond with the contents of the console/debugger.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 16, 2019 Aug 16, 2019

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 16, 2019 Aug 16, 2019

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines