Skip to main content
jmgaston
Participant
March 12, 2018
Answered

How do I make a drop down list auto generate options based on the previous list?

  • March 12, 2018
  • 2 replies
  • 1893 views

Hi there,

I'm trying to create a drop down list that will auto generate options based on the selection in the previous drop down list. Essentially, what I need is one drop down list of "Court Locations" and a second list of "Courtroom Numbers" where if the person selects "Airdrie" from the Court Location list then only the courtroom numbers for that location (i.e., 001) will appear in the "Courtroom Number" list.

I have no experience with coding or script so detailed help would be really appreciated.

Thank you.

This topic has been closed for replies.
Correct answer Thom Parker

Read this article, it covers exactly this topic:

https://acrobatusers.com/tutorials/js_list_combo_livecycle

2 replies

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
March 12, 2018

Read this article, it covers exactly this topic:

https://acrobatusers.com/tutorials/js_list_combo_livecycle

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
try67
Community Expert
Community Expert
March 12, 2018

You can do it using this tool I've developed without having to write any code. All you need is a spreadsheet that contains all the possible combinations. You can find it here: Custom-made Adobe Scripts: Acrobat -- Create Cascading Dropdowns

jmgaston
jmgastonAuthor
Participant
March 14, 2018

Thank you for that information. Unfortunately, I'm only working with Adobe DC not Pro. Is there a way that I can do what I need through DC or can it only be done with Pro?

try67
Community Expert
Community Expert
March 14, 2018

What do you mean by "Adobe DC", exactly? Do you have the free Reader, or the paid-for Acrobat? It will work with Acrobat Standard or Pro, but not with the free Reader, no.