Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Can we remove 'All' and 'None' options from List Box tool

JinoGeorge
6 - Meteoroid

I need to remove the 'All' and "None' options displayed for the list box tool. The app I have created is for Alteryx Gallery. So, if the user is selecting 'All' it will affect the running time. I have put a suggestion to limit the selection up to 5, but also want to remove the "All' option to avoid any 'by mistake' selections. Can anyone share suggestions or workaround for this. 

 
 

Listbox.PNG

 

5 REPLIES 5
Qiu
20 - Arcturus
20 - Arcturus

@JinoGeorge 
I dont there is an option.
Having "None" and "All" is convenient to me, at least. 😁

FrederikE
13 - Pulsar

Hey @JinoGeorge,

 

I am not 100% sure what the execution would look like, but you could try to connect the Listbox to an Error Message Tool and send an error if there are more than 5 selections.

Removing the "All" option is not possible I think. 

JinoGeorge
6 - Meteoroid

Thanks @FrederikE .

 

Can you also share the expression to put in, to give an error message if the user has selected more than 5 items from list box. 

 

Thanks in advance. 

PhilipMannering
16 - Nebula
16 - Nebula

If you want to throw an error if none are selected or all are selected using a couple of Error Message Tools,

 

If all are selected,

Screenshot 2023-07-13 083552.png

 

If none are selected,

Screenshot 2023-07-13 083640.png

 

Result,

image.png

 

See example attached.

JinoGeorge
6 - Meteoroid

Okay, so here I got the solution for display Error Message if more than 5 items are displayed

 

Error Message for Listbox.PNG

Labels