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.
Copy link to clipboard
Copied
May be that following helps :
Copy link to clipboard
Copied
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();}