Skip to main content
Community Expert
April 3, 2022
Answered

In Form JavaScript to show/hide a form field does not workion mobile phone

  • April 3, 2022
  • 1 reply
  • 703 views

Hi,

 

I have a form with a number of check boxes and calculations.

When one of certain check boxes is checked, then another form field is hidden or shown.

This works well on my laptop in Acrobat.

However, on my mobile phone this show/hide feature does not work. All other features and calculations work.

The code (from another post in this forum, thank you very much!) is:

var nHide = event.target.isBoxChecked(0)?display.hidden:display.visible;
this.getField("total").display = nHide;

 

On my mobile phone I use the Acrobat app.

Is this a known issue?

Or do I have to change something?

Does anyone know, whether these features work with other PDF viewers (PC or mobile phone)?

 

Best regards

 

Winfried

This topic has been closed for replies.
Correct answer try67

Almost no scripts work in the mobile version of Acrobat, unfortunately.

Some apps that do offer (limited) support for scripts are PDF Expert by Readdle (on iOS devices) and XODO PDF Reader (on Android).

1 reply

try67
try67Correct answer
Community Expert
April 3, 2022

Almost no scripts work in the mobile version of Acrobat, unfortunately.

Some apps that do offer (limited) support for scripts are PDF Expert by Readdle (on iOS devices) and XODO PDF Reader (on Android).

Community Expert
April 4, 2022

Thank you very much for this info. I tested the XODO app on my mobile phone, but I can still not show/hide other fields.

OK. My PDF will work also without this feature.