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

Drop down list opens another list based on first selection

New Here ,
Feb 16, 2024 Feb 16, 2024

Copy link to clipboard

Copied

I am trying to figure out the easiet way to do the following.... 

 

I need a drop down list that has every county in my state. Once someone selects the county in the first drop down list, a new list should appear that lists the court locations in that county.

 

For example:

 

List 1 will show the following:

County 1

County 2

County 3

 

once a county is selected, a new list appears that shows,

Court Location 1

Court Location 2

Court Location 3

Court Location 4

 

Alternatively, I could put all infomation in one list, but I can't have the county information to be visible when selected. 

 

fo example, the List would show:

 

County 1  - Court Location 1

County 1  - Court Location 2

County 1  - Court Location 3

County 1  - Court Location 4

 

but when you select "County 1 - Court Location 3", only Court Location 3 will appear on the document.

TOPICS
Edit and convert PDFs , How to , JavaScript , Modern Acrobat , PDF , PDF forms

Views

105

Translate

Translate

Report

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 16, 2024 Feb 16, 2024

Copy link to clipboard

Copied

LATEST

Here's an article that covers exactly this topic, and some others:

https://acrobatusers.com/tutorials/js_list_combo_livecycle/

https://acrobatusers.com/tutorials/change_another_field/

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

Votes

Translate

Translate

Report

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