Drop Down list based on another Drop Down list

Drop Down list based on another Drop Down list

  

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...


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.

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-

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 :)

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



Solution