Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
venkatg6759
Creator III
Creator III

Button Popup if no selection made

Hello Everyone ,

I have 3 list boxes in one tab and a button which takes you to another tab. I have to make button work only after making selection from atleast one list box or else it should show me a popup.

Is there a way to solve this .

The button should function only after making atleast one selection.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You can use an enable condition in the general tab of the button properties.

The condition could look like:

=GetSelectedCount(Field1) + GetSelectedCount(Field2) + GetSelectedCount(Field3)

Please check attached.

View solution in original post

10 Replies
swuehl
MVP
MVP

You can use an enable condition in the general tab of the button properties.

The condition could look like:

=GetSelectedCount(Field1) + GetSelectedCount(Field2) + GetSelectedCount(Field3)

Please check attached.

venkatg6759
Creator III
Creator III
Author

Thanks Swuehl . That worked

CELAMBARASAN
Partner - Champion
Partner - Champion

You could also check with this

venkatg6759
Creator III
Creator III
Author

Hi Celambarsan,

Your pop up is good .But how can i make pop up appear if 2 selections are not made. We should make atleast one selection from each list boxes as there are 3 list boxes .

pop up should appear only if they don't select from 2 list boxes minimum

Thanks,

MayilVahanan

Hi

You can try like this also

=Count(GetCurrentSelections()) in Variable

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
swuehl
MVP
MVP

You can use this condition to enforce selection in all three list boxes:

GetSelectedCount(Dim1) *  GetSelectedCount(Dim2) * GetSelectedCount(Dim3)

Then use the condition to trigger your button activation / popup.

venkatg6759
Creator III
Creator III
Author

Hi swuehl ,

Can you check celambersan attached.qvw in the previous reply and  help me how can i change it because i am using this currently

swuehl
MVP
MVP

Yes,

but it's plain forward, as I described above.

venkatg6759
Creator III
Creator III
Author

Its the same way as you described above. But here the condition is either 2 or 3 list box.How can i change it .The selection can me made either in 2 or the third but not in both .