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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Clear list box with a condition

Hi ,

Is it possible to clear a list box say for example a variable vClearField is 0

the whole scenario is like this

i have 3 list boxes %Chart,%Dim,%Exprssn

Now i want %Dim and %Exprssn to be Cleared once count(GetFieldSelections(%Chart)=0

i.e nothing selected

thanx in advance 

1 Solution

Accepted Solutions
tresesco
MVP
MVP

You can try Variable Event Trigger->OnChange

vClearField=GetSelectedCount(%Chart)

Check attached sample too.

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Add a Clear Field action to the variable trigger. You can find the triggers on the Triggers tab of the Document Properties window.


talk is cheap, supply exceeds demand
tresesco
MVP
MVP

You can try Variable Event Trigger->OnChange

vClearField=GetSelectedCount(%Chart)

Check attached sample too.

Anonymous
Not applicable
Author

Thanx that's exactly what i wanted