Copy link to clipboard
Copied
Hi,
I am a beginner with Acrobat and I'm trying to set up a Dropdown Field für all the different Branches of my Company. In the Dropdown I have 4 different example branches. Depending on the selection, I would like to display the address of the branch below. So if I pick Branch 2, I want the Adress of Branch 2. Is there any possibility to make a conditional text field? I think it's not a very elegant solution to put 3 separate dropdown fields right next to each other, I want to controll everythin with one drop down field if possible.
Copy link to clipboard
Copied
Set address as export value of each Branch and then use something like this as custom calculation script of dropdown field:
this.getField("Address").value = event.value;
Copy link to clipboard
Copied
You can read about scripting this type of behavior in these articles:
https://www.pdfscripting.com/public/List-Field-Usage-and-Handling.cfm
https://acrobatusers.com/tutorials/change_another_field/