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

Java script calculations

New Here ,
Apr 05, 2018 Apr 05, 2018

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.

TOPICS
iOS
1.5K
Translate
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
1 ACCEPTED SOLUTION
LEGEND ,
Apr 05, 2018 Apr 05, 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)

View solution in original post

Translate
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
LEGEND ,
Apr 05, 2018 Apr 05, 2018

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

Translate
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
New Here ,
Apr 05, 2018 Apr 05, 2018

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

Translate
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
LEGEND ,
Apr 05, 2018 Apr 05, 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)

Translate
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
New Here ,
Apr 05, 2018 Apr 05, 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.

Translate
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
LEGEND ,
Apr 05, 2018 Apr 05, 2018
LATEST

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

Translate
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