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

Form Button Executing Check Box "Select All"

New Here ,
Feb 08, 2018 Feb 08, 2018

Hello All or should I say anyone interested,

Being completely new to the use of JavaScript I did some research and located a script I could use for a button in a form I created that basically selects all of the checkboxes within it as a workflow enhancement for the end user. I works beautifully on a PC or Mac within Reader however when the form is opened on a mobile device also within Reader the button does absolutely nothing. Is this a compatibility issue with mobile platforms? Or will the script require some tweaking to work in both environments?

See script below:

var fn = new Array();

fn = ["Power", "Flex Fit Ergo", "Wheel Steering", "Pushing the Cart", "Probe Ports", "USB Ports", "RJ45 Network", "External DVI", "Monitor", "Probe Care", "DVD Burner", "Remote Service", "Insite", "Live Assist", "New Exam", "Entering/Changing", "Search/Create", "Probe/Application", "2D Gain/ Active", "4D/Multi-D", "2D/MM", "Zoom Knob", "Quick Apps", "Trackball Button", "Measure/Caliper", "Layout Button", "Flex/TGC's", "Record Button", "Freeze/2D Freeze", "Clear/Text", "Active Mode Tab", "2D Specific Touch", "Doppler Specific", "Virtual Apex", "HD/ACE", "Store Mode", "Retro/Pro", "TP Shortcut", "Caliper/Measure", "User Def Formula", "Configuring M&A", "Post-Process", "Edit Measure", "Report Templates", "Structured Findings", "Patient List", "Select PT", "Image Review", "Exam Tabs", "Delete Image", "Report Gen/Worksheet", "Transfer/Import", "HiRes Dicom", "Format Media", "Save As", "MpegVue", "Disk Management", "Addendum"];

for (var i = 0; i < fn.length; i++) {

    if (this.getField(fn).type == "checkbox") {

        this.getField(fn).checkThisBox(0, true) ;

    }

}

TOPICS
Acrobat SDK and JavaScript , Windows
343
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 ,
Feb 09, 2018 Feb 09, 2018

Acrobat Reader on mobile devices doesn't support all features.

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 ,
Feb 09, 2018 Feb 09, 2018
LATEST

Sounds like patience is the key then..

Sent from my iPhone X

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