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

Digital signature with javascript issues

New Here ,
Apr 21, 2025 Apr 21, 2025

I will include pictures. After I digitally sign the document, I click the X in the upper right corner and I get prompted to save Yes No Cancel choices. If I select Yes all is good, but if I select No the document closes. When I open the document again the digital signature is there but the fields changed to read only with javascript in the sign area of the digital signature are not read only.

 

before I sign.png

Before Digital Sgnature is applied

digital signature properties.png

This is where the Javascript is located in the sign area of the signature field.

 

digital javascript properties.png

after digital save .png

This is after the Digital Sgnature is applied.

this is what i get when i click X to close window.png 

This is what I get when I close the document.

If I select set read only and select the fields I do not get the prompt when I close the file. If I select No the signature is saved, but the fields are not read only. When I open the file there ar no problems with the digital signature and the fields that are now read only

269
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 ,
Apr 22, 2025 Apr 22, 2025

[MOVED TO THE ACROBAT SIGN DISCUSSIONS]


Acrobate du PDF, InDesigner et Photoshoptographe
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
Adobe Employee ,
Apr 23, 2025 Apr 23, 2025

Hi mark_5355,

 

Thank you for reaching out.

 

Please let us know if the field changes to read-only after adding the signature. If yes, this is designed behavior. As the signature is added and the file is saved, making changes to those fields is impossible. 

 

If that is not the case, could you please share the screen recording showing the steps you used and the changes that occurred so that we can better understand? 

 

Thanks,

Meenakshi

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 ,
Apr 23, 2025 Apr 23, 2025

That is happening when I digitally sign the save prompt comes up to save the file but then the javascript I have in the proprties sign area runs after the file save and when the person closes the document they are propted to save Yes or No or Cancel, If they select No the file closes. When re-opened the signature is there but all of the read only field settings were not saved so the document can still be edited. Is there a way to get the javascript to run first then prompt with the file save? FYI if you select the make field read-only in the properties area it sets the read-only on the fields selected then prompts to save. 

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
Adobe Employee ,
Apr 24, 2025 Apr 24, 2025

Thank you for the information.

 

Could you please share more information about why you are adding the script here? Also, share the workflow for completing the document. 

It would be really helpful if you could share the screen recording so we can understand the process. Also, please share the PDF so we can replicate the issue.

 

Thanks,

Meenakshi

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 ,
Apr 24, 2025 Apr 24, 2025
LATEST

Attached are 1 screen recording, 2 PDFs that I started with and 3 PDFs saves after signing. The recording goes through showing the code in each PDF used and shows the steps of filling out and saving then re-opening with the final outcome for each. What i would like is to get the javascript that is in the sign area to run before the save so there is no prompt to save when closing the file. 

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