Skip to main content
Participant
November 25, 2023
Question

Dropdown Dynamic Items

  • November 25, 2023
  • 2 replies
  • 553 views

Hello,

 

I like to create a set of Dropdown fields having the same item lists. But once I select "Item A" in the first Dropdown the rest of them will show all items except "Item A" in their list. Likewise if I select "Item B" is the second Dropdown, the rest should show all items except "Item A" and "ItemB". This way the loop should go on to the last Dropdown which would have only one item (left to select) to show.

 

This process should work as per order of the Dropdown Fields. Each Dropdown must have a item of blank selection (Null Value). The next Dropdown would only unlock if a selection in made to the previous Dropdown.

 

Please help me with the javascript coding...

 

Thanks in advance.

This topic has been closed for replies.

2 replies

JR Boulay
Community Expert
Community Expert
November 29, 2023

See this other sample file, it does not remove items in the dropdown but it warns the user.

 

Acrobate du PDF, InDesigner et Photoshopographe
JR Boulay
Community Expert
Community Expert
November 29, 2023

See this sample file.

The (document level) script* concern only the lists that are on the left.

 

 

* (made by bebarth )

Acrobate du PDF, InDesigner et Photoshopographe