Skip to main content
Inspiring
September 17, 2020
Answered

Javascript-Drop-down list

  • September 17, 2020
  • 4 replies
  • 1149 views

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 has been closed for replies.
Correct answer Kassandra5C87

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

4 replies

Bernd Alheit
Community Expert
Community Expert
September 17, 2020
Kassandra5C87AuthorCorrect answer
Inspiring
September 17, 2020

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

BarlaeDC
Community Expert
Community Expert
September 17, 2020

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

Inspiring
September 17, 2020

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

Inspiring
September 17, 2020

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

Inspiring
September 17, 2020
try67
Community Expert
Community Expert
September 17, 2020

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