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

Javascript-Drop-down list

Explorer ,
Sep 17, 2020 Sep 17, 2020

Copy link to clipboard

Copied

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

Views

158

Likes

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

correct answers 2 Correct answers

LEGEND , Sep 17, 2020 Sep 17, 2020

Likes

Translate

Translate
Explorer , Sep 17, 2020 Sep 17, 2020

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

Likes

Translate

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

Copy link to clipboard

Copied

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

Likes

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

Copy link to clipboard

Copied

Likes

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

Copy link to clipboard

Copied

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

Likes

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

Copy link to clipboard

Copied

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

Likes

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

Copy link to clipboard

Copied

Likes

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

Copy link to clipboard

Copied

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

Likes

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

Copy link to clipboard

Copied

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

Likes

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