Hoping someone can help. I'm using the below code to count the number of selections currently made which I'm mounting within a small text box as a small indicator to remind users when selections have been made (without the need to fully open the current selections box itself. My issue is scripting the conditional coding so it hides again when there are no selections made. Currently the below script produces the result of '-' when there are no selections. However, when I try my statement, see below, it doesn't work.
Does anyone have any idea why this might be the case?