I have a List Box that I need the end user to select atleast one value from and if they dont I want to present an error message. I have tried to configure the expression in the Error Message tool any number of ways
Length([#1]) = 0
Nothing I have tried has worked. What expression should I use to stop the workflow if the user does not make a selection from the List Box. The List Box contains the names of various organizations (alpha characters)
@AkimasaKajitani @Thank you!!!!!! When I was trying to get it to work I had connected a Text Input tool to the list box with an Action tool in between so that I could see what was coming out of the list box when I had selected nothing and saw the “”. So I then configured the error message tool expression as [#1] =“” but it obviously didn’t work. I was so close!!!! I’m going to write myself a reminder nite - “when all else fails, put it in quotes”. Thank you again for your support.
For more context, this depends on the values in the XML tags <Multiple_Start> and <Multiple_End> (i.e., Stat Text and End Text in the configuration window, respectively).
Meaning empty List Box Selection depends on what you set for the Start Text and End Text and this is case for Dynamic List Box based on Macro Input or Custom Generated List.
So you don't have to Manually create a list of values for the list box to do this feature and it wont always be two double quotes if you set Start Text and End Text to something other than double quotes.