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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can I enable or disable a button using a select box as a control?

Hello,

I have a button and a multiple selection box like this:

duvida.png

I need enable the button "Pesquisar" only when the user makes a select at "Rodada". While no select was made, the button is disabled.

How can I do this?

Thanks!!!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

On general tab of the button properties, use this expression for the Enable Condition:

=GetSelectedCount(Rodada)>0

assuming Rodada is your field name the user selects in.

View solution in original post

3 Replies
swuehl
MVP
MVP

On general tab of the button properties, use this expression for the Enable Condition:

=GetSelectedCount(Rodada)>0

assuming Rodada is your field name the user selects in.

Not applicable
Author

Thank you!

It worked as i needed!

rustyfishbones
Master II
Master II

In the Layout tab of the Button, on Show, choose Condition and add the following expression

COUNT(DISTINCT Selecione) = 1

2013-10-10_1720.png

It means the button will only show if you have made a selection