Copy link to clipboard
Copied
Hello,
I need to create a drop down list that users can select one customer and when that customer is chosen, their associated address is populated also. I don't have any experience with java script is there any easy way to create this?
Copy link to clipboard
Copied
You can add address as export value for that customer in the dropdown field, and then you can use something like this as custom calculation script of dropdown field:
this.getField("Put the name of the address field here").value = event.value;
Copy link to clipboard
Copied
See these articles:
https://acrobatusers.com/tutorials/change_another_field/
https://acrobatusers.com/tutorials/list_and_combo_in_lc/
https://www.pdfscripting.com/public/List-Field-Usage-and-Handling.cfm