Sending form for signature removes readonly attribute from dropdown lists
Copy link to clipboard
Copied
I have a script that marks all fields in a document as read-only. At first it seems to work just fine, when I open the document in Acrobat Pro and Chrome afterwards all fields appear to be locked. However, when I send the locked-down document for signature through Adobe Sign, the recipient is able to edit all of the dropdown lists. Only the dropdown lists are affected, all other kinds of fields in the document remain read-only. Is there another way to disable dropdown lists other than setting them as readonly?
I notice that in the "specify where to sign" portion of the sending process, when I open the properties panel for any dropdown list there is no checkbox to mark them as read-only. It shows an option to "disable" them conditionally based on other fields.
Here is the script I'm using:
for(var i = 0; i < this.numFields; i++){
var fieldName = this.getNthFieldName(i);
this.getField(fieldName).readonly = true;
}
Copy link to clipboard
Copied
Adobe sign is a web service that presents the users with an HTML rendering of a form. It doesn't have anything to do with PDF. That form you created is only used as a template for creating the "Adobe Sign Form". In the conversion from your form to the Sign Form, features that are not sign compatible are ignored, which includes scripts, and frankly most AcroForm features.
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
Ahh, that makes more sense, thank you. Does that include the readonly attribute? When I converted the form from an AcroForm to a Sign Form in Acrobat Pro, the read-only attribute was still present under the properties of the dropdown lists, in addition to a "locked" attribute. It was only when the form was sent that the read-only attribute was stripped from those fields and disappeared from the properties panel. Does this mean that there is no way at all to completely lock dropdown lists from being edited on forms that are sent for signature through Adobe Sign?
Copy link to clipboard
Copied
You should try making a specific Adobe Sign form and see what you can get out of that. There is also an entire set of functionality that is not directly available through the PDF interface, or to free users. If you get the Adobe Sign subscripting there are many more features. You can read about some if it here:
https://helpx.adobe.com/sign/using/text-tag.html
Use the Acrobat JavaScript Reference early and often

