Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
help4qv123
Creator II
Creator II

Restrict listbox selection

Hi Friends,
I have a requirement , In list box by pressing ctrl we can select multiple values. So i want a restriction as user can select max up to 2 by pressing ctrl.

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

You can do something like this:

=If(GetSelectedCount(myField)>2, 'Error', myField)

but you will see the text "Error" only when you release the CTRL button

View solution in original post

2 Replies
alexandros17
Partner - Champion III
Partner - Champion III

You can do something like this:

=If(GetSelectedCount(myField)>2, 'Error', myField)

but you will see the text "Error" only when you release the CTRL button

help4qv123
Creator II
Creator II
Author

Ya Good...But I can see error mesg any other option....