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

Adobe Acrobat custom javascript form fields

New Here ,
Aug 26, 2021 Aug 26, 2021

I am having a difficult time in creating custom javascript code for adobe acrobat form fields.

 

I need to make fields invisible until a client fills in the signature field. ***clients signs in the signature field and then form fields below the signature field show up. Screenshot of PDF, shown below for reference.

 

Screen Shot 2021-08-26 at 10.00.30 AM.pngexpand image

 

 

TOPICS
Create PDFs , JavaScript , PDF forms
1.6K
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 ,
Aug 26, 2021 Aug 26, 2021

Hi there

 

Hope you are doing well and  sorry for the trouble. As described, you need to make fields invisible until a client fills in the signature field. Clients signs in the signature field and then form fields below the signature field show up. using the JavaScript.

 

Please checkout the help page https://acrobatusers.com/tutorials/javascript_console/ for information about using the JavaScript.

 

Hope it will help

 

Regards

Amal

Regards
Amal
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 ,
Aug 26, 2021 Aug 26, 2021
LATEST

Make the fields hidden and then apply the following code under the Signed event of the signature field:

 

this.getField("NameOfEntity").display = display.visible.

 

Use the actual field name in the quotes, of course.

Duplicate that line as needed, once for each field you want to show.

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