2080
Views
5
Comments
Solved
Drop Down list based on another Drop Down list
Question

Hello everyone ...


 I'm novice about this platform i wanted to know on how to create Drop Down list based on another Drop Down list

Example


Drop Down list 1

* bedroom
* office
* .....

If i selected bedroom the Drop Down list 2 is

* bed
* Wardrobe
* .....

If i selected office the Drop Down list 2 is

* chair
* table
* books
* .....

If possible, I want to see an example that applies these conditions


Thank you...


2021-09-06 10-27-15
João Cabaço
Solution

Arman . wrote:

Hello everyone ...


 I'm novice about this platform i wanted to know on how to create Drop Down list based on another Drop Down list

Example


Drop Down list 1

* bedroom
* office
* .....

If i selected bedroom the Drop Down list 2 is

* bed
* Wardrobe
* .....

If i selected office the Drop Down list 2 is

* chair
* table
* books
* .....

If possible, I want to see an example that applies these conditions


Thank you...


Hello Arman,

I created an example with this behavior, see attached.

If you need help, let me know.

Best Regards,

João Cabaço



TwoCombosExample.oml
2020-02-28 09-46-54
Eduardo Jauch

Old, but still the way to go.

https://www.google.pt/amp/s/insideoutsystems.wordpress.com/2014/08/05/conditional-drop-down-lists-in-an-outsystems-application-2/amp/

Cheers

P.S. Icons have changed since, but the idea is still the same.

For mobile, the implementation is a little bit different, as you didn't specify... But the idea is the same.

Also, after the online training you should be able to do it yourself, so, if you didn't take the online training, it's good to do it.

2025-04-22 05-54-18
Shashi Kant Shukla

Hi Arwa,

You need to execute the on change of first dropdown and write the logic to populate the second dropdown in this on change.


Regards

-SK-

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Arman,

In the OnChange of the first Combo Box (the OutSystems term for a drop down Widget), you need to prepare (e.g. by means of an Aggregate) the content of the second Combo Box. Bind the content to the second Combo Box (e.g. by an Assign). Next, you Ajax Refresh the second Combo Box, that will then display the new content.

EDIT: Ninja'd by both Eduardo and Shasi :)

2021-09-06 10-27-15
João Cabaço
Solution

Arman . wrote:

Hello everyone ...


 I'm novice about this platform i wanted to know on how to create Drop Down list based on another Drop Down list

Example


Drop Down list 1

* bedroom
* office
* .....

If i selected bedroom the Drop Down list 2 is

* bed
* Wardrobe
* .....

If i selected office the Drop Down list 2 is

* chair
* table
* books
* .....

If possible, I want to see an example that applies these conditions


Thank you...


Hello Arman,

I created an example with this behavior, see attached.

If you need help, let me know.

Best Regards,

João Cabaço



TwoCombosExample.oml
UserImage.jpg
Nghia Pham

Hi Kilian.

I got a problem when using 2 combox refresh when using it inside Editable Table.

I only with outside the table

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.