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

Signature Field

New Here ,
Dec 29, 2024 Dec 29, 2024

Copy link to clipboard

Copied

Hi, need help!

I created a form with signature filed and selected "read-only" all fields (refer to picture) once signed.

Submiited the pdf via outlook email. When the form received the date, time and other fields are editable. 

I am using Acrobat Pro ver. 2024.005 203.20 (64bits), any help appreciated. Regards

Peter37077418lfgf_2-1735537628031.png

 

Peter37077418lfgf_0-1735537339868.png

TOPICS
PDF forms

Views

126

Translate

Translate

Report

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 ,
Dec 30, 2024 Dec 30, 2024

Copy link to clipboard

Copied

Read-only executes after the form is signed.

Votes

Translate

Translate

Report

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 ,
Dec 30, 2024 Dec 30, 2024

Copy link to clipboard

Copied

Thanks for the response. 

Where do I add the JS: this.getField("FieldName").readonly = true;

Actions or Signed Tab 

Peter37077418lfgf_1-1735628178298.png

 

 

 

Votes

Translate

Translate

Report

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 ,
Dec 31, 2024 Dec 31, 2024

Copy link to clipboard

Copied

Are you trying to make the fields read-only with your submit button as the trigger, or signing the form with the digitial signature field as the trigger?

Votes

Translate

Translate

Report

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 ,
Dec 31, 2024 Dec 31, 2024

Copy link to clipboard

Copied

I am doing away with singnature field, just submit button as the trigger to lock all field no one can edit.

Votes

Translate

Translate

Report

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 ,
Dec 31, 2024 Dec 31, 2024

Copy link to clipboard

Copied

You can flatten the fields instead of read-only which will turn them into static text with this simple line of code prior to your submit code:

this.flattenPages();

Be aware the form fields, including the submit button, will no longer exist as fields, and the user who clicks the submit button must have Acrobat.  If you want to go the read-only route you will need to loop through all of the fields like this:

for(var i = 0; i < this.numFields; i++)
{
var fieldName = this.getNthFieldName(i);
var oFld=this.getField(fieldName);
if(oFld==null){continue}

oFld.readonly=true;
}

Votes

Translate

Translate

Report

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 01, 2025 Jan 01, 2025

Copy link to clipboard

Copied

LATEST

Thank you.

Votes

Translate

Translate

Report

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