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

Go to next fields Javascript on Mobile fail

Community Expert ,
Sep 23, 2019 Sep 23, 2019

Hello!

I have used a document javascript to make an auto go to next field and it works perfectly right on desktop but does not do anything on Mobile using Reader (Android or iOS). Does something like that is completely impossible on Mobile?

I have this in my doc script:

function tab_next(next_field_name) {
    if (event.willCommit || AFMergeChange(event).length === event.target.charLimit) {
        getField(next_field_name).setFocus();
    }
}

 

and use this for keystroke script:

tab_next("name of next field");

 

Please tell me it’s possible to accomplish something similar on Mobile and how. Thanks!

TOPICS
Acrobat SDK and JavaScript
507
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 ,
Sep 24, 2019 Sep 24, 2019

Hi

 

For Acrobat mobile, JavaScript support includes performing built-in forms calculations, data validation, and data formatting using APIs that are a subset of those supported by the desktop product.

See details here: https://www.adobe.com/devnet-docs/acrobatetk/tools/Mobile/js.html


Acrobate du PDF, InDesigner et Photoshoptographe
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 ,
Sep 24, 2019 Sep 24, 2019
So I’m screwed up! Right? No support for any document scripts at all?
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 ,
Sep 24, 2019 Sep 24, 2019

No, Apple and Google put too much bad will.
They don't want to kill the goose that lays the golden eggs…

😞


Acrobate du PDF, InDesigner et Photoshoptographe
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 ,
Sep 24, 2019 Sep 24, 2019

You can try PDF Expert for 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 ,
Sep 24, 2019 Sep 24, 2019
LATEST
You can force mobile user to use another app. It’s hard enough to get them use 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