Combo Box widget with "Other" option

I would like to make a Combo Box widget to link to a list of variables, and end the list with an "Other" option. However, I won't be able to achieve this using Special List as it will put the special variable at the top instead.


For examples, I have a Fruit table: Apple, Orange, Banana.

Combo Box selections should be: 1. Apple > 2. Orange > 3. Banana > 4.Other


Is there any workaround way for me to achieve this? Thank you in advance.

Solution

Hi. You can use a list append to add the "Other" option to your Combo Box, which will append the record at the end of your source list

Solution

Hi, 

The Combo Box can display any list. Create the list with an Aggregate to retrieve the database information and use the   "ListAppend" action to add at the end the options you need. 

Pay attention to deal with those options correctly, as they'll seem like any other option.

hope this help

Graça 



Eucliwood wrote:

I would like to make a Combo Box widget to link to a list of variables, and end the list with an "Other" option. However, I won't be able to achieve this using Special List as it will put the special variable at the top instead.


For examples, I have a Fruit table: Apple, Orange, Banana.

Combo Box selections should be: 1. Apple > 2. Orange > 3. Banana > 4.Other


Is there any workaround way for me to achieve this? Thank you in advance.

Hi,


Yes add local variable list  of that data type and problematically add all values and add Other value in last once your loop will end.


Thanks


Thanks everyone for the input. "List Append" works perfectly for what I need.