Copy link to clipboard
Copied
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.
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.
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now