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

Go to next fields Javascript on Mobile fail

Community Expert ,
Sep 23, 2019 Sep 23, 2019

Copy link to clipboard

Copied

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

Views

362

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

So I’m screwed up! Right? No support for any document scripts at all?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

😞

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

You can try PDF Expert for iOS.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST
You can force mobile user to use another app. It’s hard enough to get them use Reader. 🙂

Votes

Translate

Translate

Report

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