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

Javascript-Drop-down list

Explorer ,
Sep 17, 2020 Sep 17, 2020

I never used Javascript before.

I want to create two drop-down lists. The second list choices are depending on the choice made in the first list. Was would be the script for this use ?

List 1 : Item1, Item2 and Item3

List 2 : If item 1 or 2 is selected, choices must be ChoiceA and ChoiceB

If item 3 is selected, choices muts be ChoiceC and Choice D

Can someone help me with a script please ?

 

TOPICS
Acrobat SDK and JavaScript
969
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 2 Correct answers

LEGEND , Sep 17, 2020 Sep 17, 2020
Translate
Explorer , Sep 17, 2020 Sep 17, 2020

Exactly what I want. I'll figure how to do it.

Translate
Community Expert ,
Sep 17, 2020 Sep 17, 2020

Try searching the forum for "dependent dropdowns". This issue was discussed many times in the past, including code examples.

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
LEGEND ,
Sep 17, 2020 Sep 17, 2020
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
Enthusiast ,
Sep 17, 2020 Sep 17, 2020

You have your code sample we can help you with or you want to hire someone to do it for you?

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
Explorer ,
Sep 17, 2020 Sep 17, 2020

I'd like to learn it so i can do it by myself.

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 ,
Sep 17, 2020 Sep 17, 2020
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
Explorer ,
Sep 17, 2020 Sep 17, 2020

Exactly what I want. I'll figure how to do it.

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 ,
Sep 17, 2020 Sep 17, 2020
LATEST

Hi,

 

You should be able to use this - https://community.adobe.com/t5/acrobat/calculate-a-form-field/m-p/11435264?page=1#M276798

 

Regards

 

Malcolm

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