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: 
Anonymous
Not applicable

Mandatory Multi Select list box

Hi Gurus..is there any to make a list box is mandatory for at least one value instead of always one selected value..so that i can facilitate more than one value can be selected or minimum one value has to be selected.

Example: I have Month list box, my requirement is users must select atleast one value in Month and also they should be able to select multiple months.

Please share some workarounds.

Br,

Chinna

6 Replies
Anil_Babu_Samineni

There is no prerequisite to check the box. If possible try to enable LED. Image for ref from presentation tab?

Capture.PNG

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Anonymous
Not applicable
Author

Hi Anil,

By making the representation as checkbox won't help , If I wanted to do multiselect when I enable Always one selected value checkbox.

Br,

Chinna

Anil_Babu_Samineni

there is no default option to achieve this? And i would also recommend to read this How to clear the Always One selected value (Mainly Macro)

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
neha_shirsath
Specialist
Specialist

Hi Chinna,

By using Always one selected value you won't achieve multiple selection if you want to avoid using macro.

You can do unchecked Always one selected value and write trigger on Active sheet select current month by default.

then you can select multiple month also and by default you will get one month selection.

Thanks,

Neha

Anonymous
Not applicable
Author

Dear Neha,

Above one is already in place. however, our page has clear all button . And some times users are clicking on clear all is clearing the month selection. So I have put additional action on top clear all to select current month.

Now only problem is when they double click on selected month it is getting cleared.

Br,

Chinna

neha_shirsath
Specialist
Specialist

Hi,

For clear all if you have created Clear all button then in Action don't add Clear all action rather than add Clear Other fields and and give Month field then Other than Month field all field will be clear.

Find the attached file for your reference.

Thanks.