Skip to main content
Participant
November 14, 2023
Answered

Add selected text from dropdownmenu also in other text field

  • November 14, 2023
  • 1 reply
  • 743 views

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

This topic has been closed for replies.
Correct answer try67

As the custom calculation script of the text field enter:

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

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
November 14, 2023

As the custom calculation script of the text field enter:

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

Participant
November 14, 2023

This worked perfectly. Another thing learned today! thanks.