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

Scripting different for Mac acrobat vs acrobat reader app

New Here ,
Jan 29, 2025 Jan 29, 2025

Copy link to clipboard

Copied

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

Views

70

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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