Skip to main content
Inspiring
Sep 17, 2020 3:13 PM UTC
Answered

Javascript-Drop-down list

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 ?

 

This topic is closed to new replies. Start a new post to keep the conversation going.
Kassandra5C87Correct answer
Inspiring
Sep 17, 2020 3:24 PM UTC

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

7 replies

Bernd Alheit
Community Expert
Community Expert
Sep 17, 2020 3:21 PM UTC
Kassandra5C87AuthorCorrect answer
Inspiring
Sep 17, 2020 3:24 PM UTC

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

Translate
BarlaeDC
Community Expert
Community Expert
Sep 17, 2020 3:57 PM UTC

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
Inspiring
Sep 17, 2020 3:19 PM UTC

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

Translate
Inspiring
Sep 17, 2020 3:23 PM UTC

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

Translate
Inspiring
Sep 17, 2020 3:17 PM UTC
try67
Community Expert
Community Expert
Sep 17, 2020 3:15 PM UTC

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

Translate