We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

List Box Interface tool, Error Message

Mboti
5 - Atom

Hi Everyone,

I have a problem with my analytic app, because I want to show an error message when the user do not select anything from the ListBox tool, but I don't know how to do it.
I thought the Error Message tool will help me out with this expression: "IsEmpty([#1])". But do not really work.

 

Is there any way to display an error message when the user do not select anything from the Listbox tool?

Thank you in advance for your help.

3 REPLIES 3
alexnajm
18 - Pollux
18 - Pollux

Very interesting - try this! !Regex_match([#1],"[a-zA-Z]")

 

It just says if there is not a letter in the selection

Dhrish
8 - Asteroid

You can use this expression: Regex_CountMatches([#1],"True")<1.

This counts the number of the checkboxes selected i.e. True. If no checkboxes are selected then the value will be 0 and hence error message will pop-up.

Mboti
5 - Atom

Thank you very much for your help. The solution you provided works very well  :)

Labels
Top Solution Authors