Skip to main content
Participant
February 8, 2024
Question

Drop down list for addresses

  • February 8, 2024
  • 2 replies
  • 729 views

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?

This topic has been closed for replies.

2 replies

Thom Parker
Community Expert
Community Expert
February 8, 2024
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Nesa Nurani
Community Expert
Community Expert
February 8, 2024

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;