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

Sending form for signature removes readonly attribute from dropdown lists

New Here ,
Jan 19, 2023 Jan 19, 2023

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;
}

TOPICS
General troubleshooting , JavaScript , PDF forms
817
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 ,
Jan 19, 2023 Jan 19, 2023

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.  

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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 ,
Jan 20, 2023 Jan 20, 2023

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?

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 ,
Jan 21, 2023 Jan 21, 2023
LATEST

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

 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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