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

Drop-down selection result shows in another text field

New Here ,
Aug 15, 2023 Aug 15, 2023

Copy link to clipboard

Copied

Hello!

 

I have a fillable PDF started. I am working to have the result from a drop-down list (e.g., yes or no), display in another area of the pdf form (as is no changes). How do I go about that? 

TOPICS
General troubleshooting , How to , PDF forms

Views

259

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 ,
Aug 15, 2023 Aug 15, 2023

Copy link to clipboard

Copied

Shara31687379792m_0-1692123752510.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 ,
Aug 15, 2023 Aug 15, 2023

Copy link to clipboard

Copied

LATEST

For this type of operation I prefer to use a validation script on the dropdown. 

 

this.getField("TargetField").value = event.value;

 

This is a much more targeted script.  A calculation is triggered anytime any field on the form is changed. Every calculation makes the form slower. 

 

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

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 ,
Aug 15, 2023 Aug 15, 2023

Copy link to clipboard

Copied

You can use 'custom calculation script' of text field:

event.value = this.getField("Dropdown field name").value;

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