Skip to main content
markc4818233
Participant
October 11, 2018
Answered

javascript

  • October 11, 2018
  • 1 reply
  • 857 views

I need help with writing a javascript code for a series of dropdown lists in a fillable PDF document. I want the first dropdown list to determine the options available in the second and third dropdown list. For example, if someone selects 1.1 from the list of available options, they can only select 11 from the second dropdown list and 0010 from the third dropdown list. Another example would be that if the user selects 1.2 from the first dropdown list, they could only select 12, 15, or 16 from the second dropdown list and from a series of options (0020, 0040, 0050, etc.) from the third dropdown list. Can anyone help me with creating these relationships?

This topic has been closed for replies.
Correct answer Bernd Alheit

Read this:

Dropdown list 2 based on selection in dropdown list 1

1 reply

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
October 11, 2018
SamZFD
Inspiring
April 22, 2020

This link must have been broken at some point. Looking for this article. Thanks!

try67
Community Expert
Community Expert
April 22, 2020

I've developed a (paid-for) tool that will allow you to set up such "cascading" drop-downs very easily, based on a spreadsheet that contains all possible combinations. You can find it here: http://try67.blogspot.com/2014/11/acrobat-create-cascading-dropdowns.html