Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Protect multiple selection by CTRL key from list box

How can I protect multiple selection from a listbox where user can't select more than 1 record by pressing CTRL key

User can select only 1 country at a time. Anyone can answer.

My question is very simple -

     1. No country will be select after reload data

     2. After reload when I select "Afghanistan", I can see only the expression against "Afghanistan"

     3. If I select "Albania" then "Afghanistan" will be deselect and can see only the expression against "Albania"

     4. If I press CTRL key and try to select both country "Afghanistan" and "Albania" then it will not work.

Anyone can give this answer by written not any qvw file? 

1 Solution

Accepted Solutions
Not applicable
Author

Set up a trigger for a field on an OnSelect event (Settings -> Document Properties -> Triggers). For field FIELD set up Selection -> Select in Field -> use =Only(FIELD) as Search String.

View solution in original post

12 Replies
arthur_dom
Creator III
Creator III

only 1 selected at time? No less and no more?

Not applicable
Author

default no country will be select. After select 1, you can't select more.

nagaiank
Specialist III
Specialist III

When no country is selected (default), do you want to see the data for all the countries or no data?

arthur_dom
Creator III
Creator III

Attached is 3 options i think can be done on QV. Please see if you find someone useful!

Not applicable
Author

no data. you can't select multiple country by CTRL key.

Not applicable
Author

I have QV personal edition. can you give me doc file.

santhoo_san
Partner - Creator II
Partner - Creator II

Enable Always One Selected Value under General Tab of List box Properties.

jonas_rezende
Specialist
Specialist

Hi.

Perform the following steps in the List Box Properties:

1. Right-click in title Country for choose properties;

2. Tab General, localize Hide Excluded checkbox;

3. Click Ok;

4. Test - select with or without Ctrl key.

Hope this help!

Not applicable
Author

Hi Jonas,

Hide Excluded is another thing where you only see selected record.