Skip to main content
June 16, 2017
Question

Javascript on iOS

  • June 16, 2017
  • 2 replies
  • 534 views

I have developed a PDF with fillable forms (text, dates, numbers) and calculated fields based on javascript (simple IF - ELSE operators) it works fine in Windows but partly work on iPads. How can I check whether special operator will not work on iOS devices?

It calculates one field but does not calculate another...

This topic has been closed for replies.

2 replies

Legend
June 16, 2017

Glad you have it working. The JavaScript support on iOS is VERY limited in Acrobat Reader. But it includes all the basic language (if statement etc.) but very few of the classes found in the desktop versions - only App, Doc, Field, Event and util, and not all of their methods and properies.  Here is the documentation: JavaScript for Acrobat Reader Mobile API Reference (iOS)

Legend
June 16, 2017

Let's start with the basics... what app are you viewing in. (Bear in mind that installing Acrobat Reader does not affect how other apps show PDF, it's the current app that matters).

June 16, 2017

Adobe Acrobat is used to view on iPad.

I have re-created problematic fields again and now it seems OK. Will continue to check for couple of days

try67
Community Expert
Community Expert
June 16, 2017

Try Readdle's PDF Expert. It has better support for JS than Acrobat on iOS

devices, although it's not free...

On Fri, Jun 16, 2017 at 11:29 AM, andreyg34910483 <forums_noreply@adobe.com>