Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Disabling CTRL for multiple Selections

Hi,

The requirement is to not facilitate the user to select multiple values in a list box, even not with CTRL button.

I know it can be done with "always one selected". But the requirement is not to have any selections in the default view and if we enable "always one selected value" one value must always be selected and i cannot clear the same.

Any help is highly appreciable.

Thanks

2 Replies
Not applicable
Author

Hi,

     You can do this with trigger. Follow these steps:

     1. In Document Property, Select your field in 'Field  Event Triggers' option.

     2. Add action for "on Select", Selction >> Select in Field >> Type your field name in Field and write this expression in Search string:

                    =GetFieldSelections(field name)

     Now, if you will select your value in list box with CTRL key then it will show all selected field as green but when you left CTRL key then it will not select all selected fields.

Hope this help you.

Regards,

Ashutosh

Not applicable
Author

Hi Ashutosh,

Thanks for your prompt reply.

But in the proposed solution, the user can select multiple values with CTRL button, even though the values will get cleared on leaving the CTRL button.

The requirement is not to give the user ability to select multiple values. Is there any way to disable this functionality?

Thanks