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

javascript

New Here ,
Oct 11, 2018 Oct 11, 2018

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?

TOPICS
Acrobat SDK and JavaScript , Windows
689
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

correct answers 1 Correct answer

Community Expert , Oct 11, 2018 Oct 11, 2018
Translate
Community Expert ,
Oct 11, 2018 Oct 11, 2018
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 Beginner ,
Apr 22, 2020 Apr 22, 2020

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

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 ,
Apr 22, 2020 Apr 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

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 ,
Apr 22, 2020 Apr 22, 2020
LATEST

Here's an article on the topic:

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

 

And loads more info on a membership site:

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