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

Need help creating dependent drop list

New Here ,
Jul 19, 2022 Jul 19, 2022

Copy link to clipboard

Copied

 

I need help creating a dependent dropdown list. Dropdown 1 should decide selection for Dropdown  2.Dropdown list 2 should decide for Dropdown 3.

 

cynthia25306360gmgm_1-1658246693747.png

 

TOPICS
JavaScript , PDF forms

Views

204

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 ,
Jul 19, 2022 Jul 19, 2022

Copy link to clipboard

Copied

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 ,
Jul 19, 2022 Jul 19, 2022

Copy link to clipboard

Copied

LATEST

This is example how to do it by using validation script of first dropdown field, you can use same approach in dropdown2 for dropdown3...etc.

var f = this.getField("Dropdown2");

switch(event.value){

case "Item1":
f.setItems(["Item1","Item2","Item3"]);
break;

case "Item2":
f.setItems(["Item4","Item5","Item6"]);
break;

default:
f.clearItems();}

 

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