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

Dropdown Dynamic Items

Community Beginner ,
Nov 25, 2023 Nov 25, 2023

Copy link to clipboard

Copied

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.

TOPICS
Create PDFs , How to , JavaScript , PDF , PDF forms

Views

143

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 ,
Nov 29, 2023 Nov 29, 2023

Copy link to clipboard

Copied

See this sample file.

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

 

Capture_2311291231.png

 

* (made by bebarth )

Votes

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 ,
Nov 29, 2023 Nov 29, 2023

Copy link to clipboard

Copied

LATEST

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

 

Votes

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