Skip to main content
jctremblay
Community Expert
Community Expert
September 24, 2019
Question

Go to next fields Javascript on Mobile fail

  • September 24, 2019
  • 3 replies
  • 637 views

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!

This topic has been closed for replies.

3 replies

Bernd Alheit
Community Expert
Community Expert
September 24, 2019

You can try PDF Expert for iOS.

jctremblay
Community Expert
Community Expert
September 25, 2019
You can force mobile user to use another app. It’s hard enough to get them use Reader. 🙂
JR Boulay
Community Expert
Community Expert
September 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 Photoshopographe
JR Boulay
Community Expert
Community Expert
September 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 Photoshopographe
jctremblay
Community Expert
Community Expert
September 24, 2019
So I’m screwed up! Right? No support for any document scripts at all?