How to feed a Select control depending on what is choosed in another


Guest

I have two select controls and want if I select State then the second should pupulate with the appropriate cities, so that a user can select from the list.

These controls can be Dropdown or select control I don't mind, but just to achieve the above. Pls. Friends how do I do that?

I'm afraid to think of Functions, since I have not started using it.

Thanks.


DecSoft

Hello Kasito,

In fact both Select and Dropdown controls plays with Array variables (as well other controls like MultiSelect, Typeahead, etc.). The Select control have a "Change" event, and, on the other hand, the Dropdown control have a "Click" and "ItemClick" events. Then I think that is all what we need to achieve what you wanted Kasito.

I prepare a simple application sample that shows how to feed a Select control depending on the choice in another Select control. The sample also shows how we can use the ParseVariables action as a convenient way to prepare Array variables in a quick way. Of course such Arrays can also become from other sources like app's files, remote files, databases, etc.

You must update your App Builder copy in order to take a look at the new "Select2" application sample.



Guest

I have updated my AB copy but cannot find the Select2. I thought you have already ncluded it befor asking me to update, physically I didnt see changes to the version I'm using.

And I will appreciate if you give me tips on how to do this. The learning process is usually not easy.

Thanks.


DecSoft

Hello Kasito,

I have updated my AB copy but cannot find the Select2. I thought you have already ncluded it befor asking me to update, physically I didnt see changes to the version I'm using.

And I will appreciate if you give me tips on how to do this. The learning process is usually not easy.

Thanks.

The new sample "Select2" is included in the current release. You must open the "Menu -> File -> Samples" dialog and you can search for it. On the other hand, what more explaination you need about this in addition of the sample itself? Do you have some specific questions about?


Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.

Este sitio utiliza "cookies" útiles para almacenar sus preferencias.

Bien. Ocultar esta nota. Obtener más información.