Last active
May 11, 2022 17:34
-
-
Save zacharysyoung/dc287d7c38bbbf87f195bce45cb7c359 to your computer and use it in GitHub Desktop.
Make all PDF form fields editable, in Acrobat.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* globals getField */ | |
// From https://answers.acrobatusers.com/Script-change-fields-read-specific-fields-q296813.aspx | |
for(var i = 0; i < this.numFields; i++) | |
{ | |
var fieldName = this.getNthFieldName(i); | |
getField(fieldName).readonly = false; | |
getField(fieldName).locked = false; | |
} | |
console.println('\nDone'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment