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

Drop down list for addresses

New Here ,
Feb 08, 2024 Feb 08, 2024

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?

TOPICS
Create PDFs , How to , Modern Acrobat , PDF forms
621
Translate
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
Community Expert ,
Feb 08, 2024 Feb 08, 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;

Translate
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
Community Expert ,
Feb 08, 2024 Feb 08, 2024
LATEST

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

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
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