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

JavaScript reference for mobile devices?

Community Beginner ,
May 15, 2025 May 15, 2025

I'm trying to create a form for use primarily on mobile (Android/iOS). It's a simple enough situation that I'd rather make a fancy PDF, instead of a basic app. Plus, I have a hard requirement that the final dataset be a 8.5x11 PDF. While the PDF must be 8.5x11 on PC and when printed, I'd like to smartly reflow the fields into a specific order on smaller screens. I expect that I may need to use Template Pages to make a "Mobile" version 😥

 

I've looked for the previous "JavaScript for Acrobat Reader Mobile API Reference", but every single link 404s now.

 

The biggest hurdle I am facing: Can PDFs be created with a defined reflow, depending on screen size/user agent?

 

Functions I need (on mobile):

- Text fields with formatting (date, time, number, phone)

- Check boxes

- Drop downs with settable lists

- Button to email the filled form (optional, tbh)

 

Tools I have:

- Adobe Acrobat Pro

- Adobe AEM Designer 6.5

- Stubbornness

350
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
Community Expert ,
May 15, 2025 May 15, 2025

- Can PDFs be created with a defined reflow, depending on screen size/user agent?

> No. It's up to the viewer how to display the file. You can't force it one way or another.

 

You can add all the fields you mentioned, although the formatting of the text fields might not work on a mobile device. It also depends on the viewer used.

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
Community Expert ,
May 19, 2025 May 19, 2025

JavaScript for Acrobat Reader Mobile API Reference (Android) :

https://experienceleague.adobe.com/landing/acrobat-mobile-deployment/androidapi/index.html

 

JavaScript for Acrobat Reader Mobile API Reference (iOS) :

https://experienceleague.adobe.com/landing/acrobat-mobile-deployment/iosapi/classes/App.html

 


Acrobate du PDF, InDesigner et Photoshopographe
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
Community Expert ,
May 19, 2025 May 19, 2025
LATEST

[MOVED TO THE ACROBAT READER MOBILE DISCUSSIONS]


Acrobate du PDF, InDesigner et Photoshopographe
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