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

Document level JavaScript not executed in Acrobat Reader App for Android

New Here ,
Feb 10, 2017 Feb 10, 2017

Hi,

a simple API call to prefill a textfield is working perfectly in Acrobat Desktop and iOS, but not in Android. When the same API call is use inside a button event, it's also working in Android.

How to reproduce:

- Create a PDF with two textfields "Text1" and "Text2".

- Insert document JavaScript:

this.getField("Text1").value="Text1";

this.getField("Text2").value="Text2";

- Save document and open it in Acrobat Reader App for Android.

=> The textfields are not filled with text as expected.

Used version: 17.0 / Build 164574

You also can download a testfile here: AndroidTest.pdf - Google Drive

Thanks!

Christian

TOPICS
Acrobat SDK and JavaScript
276
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 ,
Feb 10, 2017 Feb 10, 2017
LATEST

Mobile devices are not the same as desktop or laptop computers and their apps do not do all the things that full computer versions of Acrobat or Adobe Reader. Have you checked the documentation for the Acrobat Mobile apps.

http://www.adobe.com/devnet-docs/acrobatetk/tools/Mobile/js.html

JavaScript APIs and Forms

It looks like Acrobat Mobile Reader support form fields only, no document level actions, no file JavaScript.

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