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

Read Only Checkbox is clickable on Mac computer

New Here ,
Feb 11, 2016 Feb 11, 2016

Hello everyone!, I have a PDF with some text fields, checkboxes and dropdown lists, and created a button which once clicked, it makes all the fields "readonly=true". This works perfectly for all the fields in a Windows computer, but when I open the exact same document on a Mac computer the checkboxes and dropdown lists are editable (meaning the "readonly=true" is not working on the Mac),

Is there a workaround for this?, or is the code incorrect? (code below)

for(var i=0;i<this.numFields;i++)

{

    var cNm = this.getNthFieldName(i);

    this.getField(cNm).readonly = true;

}

Waiting your response and thanks in advance.

Regards,

Mario.

TOPICS
Acrobat SDK and JavaScript , Windows
404
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

correct answers 1 Correct answer

Community Expert , Feb 12, 2016 Feb 12, 2016

If you open the file using Adobe Acrobat or Reader on a Mac it should work fine. If you open it in any other application (especially Apple Preview), all bets are off.

Translate
Community Expert ,
Feb 12, 2016 Feb 12, 2016
LATEST

If you open the file using Adobe Acrobat or Reader on a Mac it should work fine. If you open it in any other application (especially Apple Preview), all bets are off.

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