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

Add selected text from dropdownmenu also in other text field

New Here ,
Nov 14, 2023 Nov 14, 2023

Copy link to clipboard

Copied

I'm new on creating pdf forms and JAva scripting.

 

How can I use the different items in a dropdown menu to get it in a different text field?

 

dropdown list = item 1; item 2; item 3

When item 1 is selected , text item 1 should appear in an other textfield as well.

 

How can I do this?

 

regards

 

F

TOPICS
PDF forms

Views

447

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

correct answers 1 Correct answer

Community Expert , Nov 14, 2023 Nov 14, 2023

As the custom calculation script of the text field enter:

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

Votes

Translate

Translate
Community Expert ,
Nov 14, 2023 Nov 14, 2023

Copy link to clipboard

Copied

As the custom calculation script of the text field enter:

event.value = this.getField("dropdown").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
New Here ,
Nov 14, 2023 Nov 14, 2023

Copy link to clipboard

Copied

LATEST

This worked perfectly. Another thing learned today! thanks.

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