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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Turn off Multi select in listbox

Hello everyone

Can someone please tell me the steps to turn off the multi select option in listbox

Thanks a lot for your support

1 Solution

Accepted Solutions
sibin_jacob
Creator III
Creator III

No need of any macro. You need to use only field trigger. Below is the expression for field trigger.

Add a select in filed action  into the corresponding fieild.

For example :

field column use the below expression

if(GetSelectedCount(CustomerID)>0,'CustomerID')

Searchstring:

SubField(concat(CustomerID,'|'),'|',1)

Please find the attached application for reference.

I hope this helps! Let me know incase of any concerns/questions

Thanks,

Sibin Jacob.C

View solution in original post

5 Replies
swuehl
MVP
MVP

If you want always and only one value selected, select a single value, then open list box properties and enable 'Always One selected Value' on general tab.

sibin_jacob
Creator III
Creator III

You can use trigger also for restricting the multiselect.

Not applicable
Author

can you please tell me how to trigger macro

sibin_jacob
Creator III
Creator III

No need of any macro. You need to use only field trigger. Below is the expression for field trigger.

Add a select in filed action  into the corresponding fieild.

For example :

field column use the below expression

if(GetSelectedCount(CustomerID)>0,'CustomerID')

Searchstring:

SubField(concat(CustomerID,'|'),'|',1)

Please find the attached application for reference.

I hope this helps! Let me know incase of any concerns/questions

Thanks,

Sibin Jacob.C

Not applicable
Author


Thanks Sibin . Its working fine