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

Scripting different for Mac acrobat vs acrobat reader app

New Here ,
Jan 29, 2025 Jan 29, 2025

Can someone explain to me why this script works in Acrobat on my Mac but not when the PDF is opened in the Acrobat reader app on an iPad? I've also attached the PDF.

 

var f = this.getField("Power1");

switch(event.value) {

 

case "Upper Body": f.setItems(["elevated explosive push up", "push pass", "push press", "explosive push up from boxes", "single arm snatch", "battlerope", "MB slam", "MB shot put", "clean and press"]);

break;

 

case "Lower Body": f.setItems(["box jump", "squat jump", "swing", "single arm snatch", "broad jump", "tuck jump", "plyo jump"]); break;

 

case "Choose One": f.clearItems();}

TOPICS
JavaScript , PDF , PDF forms
374
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
Community Expert ,
Jan 29, 2025 Jan 29, 2025

Acrobat Reader on iPad doesn't support setItems and clearItems.

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
Community Expert ,
Jan 29, 2025 Jan 29, 2025

Acrobat Reader on iPad doesn't support setItems and clearItems.

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 ,
Jan 29, 2025 Jan 29, 2025
LATEST

Is there another way that you know of to have dropdowns populate based off of other dropdown choices?

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