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

ToggleSelect - Selected Value cant be cleared?!?

Hi,

i'm runnin in some issues whith the ToggleSelect action.

What i want to do is,to make sure, that always if a values is selected in a field, a special value of that field is selected too.

It shouldn't be possibility to make selection without selecting the special value.

So i add a trigger to my document.

ToggleSelect with the special value and field.

That value is selected but i cant clear it anymore:(

Means if i push "Clear" that value is still selected.

The trigger is "onSelect". But does that mean when i clear all fields, its equal to select that field?

So that the value is directly selected again?

Pls help, i'm confused...

Greetings

Sarah

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Put a conditional expression in the 'Search String' box of the Toggle Select action. Something like:

=If(GetSelectedCount(Field) > 0, 'Special', null())

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Put a conditional expression in the 'Search String' box of the Toggle Select action. Something like:

=If(GetSelectedCount(Field) > 0, 'Special', null())

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

How easy:)

Yes it works, very nice!

Thank you very much for solving my problem in 5 minutes;)