Skip to main content
Participant
April 5, 2018
Answered

Java script calculations

  • April 5, 2018
  • 5 replies
  • 1696 views

I created a form with Adobe DC on my Mac which has calculated fields on the form in Java script. It works great on my Mac pc but, when I copy the form to my iPad off of google drive and use the adobe reader it won't perform these calculations.  I use the forms mobile at job sites so need it to work on the iPad. Help please.

This topic has been closed for replies.
Correct answer Test Screen Name

Ok, there is JavaScript in the app, but it is seriously limited. Here is the documentation (very short) JavaScript for Acrobat Reader Mobile API Reference (iOS)

5 replies

Legend
April 5, 2018

Check the document I posted, to be sure you use only listed methods.

Participant
April 5, 2018

The calculations works on my iPad reader if I switch to simplified field notation for the calculations, but not exactly as I would like. In some fields I need the answer to return a absolute value. I don't want a negative value. And on another calculated field I want the answer to default to 000 if the answer is negative, but using simplified field notation since java script does not work on reader on my iPad. Please help.

Test Screen NameCorrect answer
Legend
April 5, 2018

Ok, there is JavaScript in the app, but it is seriously limited. Here is the documentation (very short) JavaScript for Acrobat Reader Mobile API Reference (iOS)

Legend
April 5, 2018

Using the Acrobat Reader app on the iPad, or just the default PDF viewer?

Participant
April 5, 2018

Using Acrobat Reader and logged in under my name. Under subscriptions it shows subscribed to Adobe DC