Skip to main content
New Participant
Jun 10, 2021 12:01 PM UTC
Solved

Dropdown Index

I have 2 dropdowns at my form, If I select the option of the index 1 of dropdown1(car companies), I want that dropdown2(car models) has to fetch accordingly with that company name i selected. How can we acheive that in appian?

peter.lewis
Employee
Jun 10, 2021 9:20 PM UTC

The latest version of the docs also has an example with a!localVariables() [emoticon:c4563cd7d5574777a71c318021cbbcc8]

https://docs.appian.com/suite/help/latest/recipe-configure-cascading-dropdowns.html 

3 replies

danny.verb
Employee
Jun 10, 2021 12:52 PM UTC

What you want are called 'Cascading dropdowns'. Here's an old docs page about it https://docs.appian.com/suite/help/18.4/recipe_configure_cascading_dropdowns.html

Instead of load() and with() just use a!localVariables()

peter.lewis
Employee
Jun 10, 2021 9:20 PM UTC

The latest version of the docs also has an example with a!localVariables() [emoticon:c4563cd7d5574777a71c318021cbbcc8]

https://docs.appian.com/suite/help/latest/recipe-configure-cascading-dropdowns.html 

New Participant
Jun 11, 2021 4:44 AM UTC

Its working fine now. Thanks