Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
somenathroy
Creator III
Creator III

Triggers : forcefully deselect a field on deselection of another field.

Dear All,

I have a table having three fields (Plant, Description, Score). I am showing concatenated (Plant & '....' & Description) value of Plant and Description fields in a Straight table. User don't have any option to select Plant from List Box. Plant only can be selected from the Straight table. For that reason, whenever a user selects a particular Plant from the Straight table, Description is automatically being selected along with Plant.

My objective is:

Whenever a user deselect a Plant , Description should also be deselected automatically.

How this can be done ?

Any help would be appreciated.

Thanks & Regards,

Somnath

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hei

hope i understood your question

look at the attach file

the trigger is defined in the document properties in the triggers tab

in the section of field event triggers

check the plant field

View solution in original post

3 Replies
lironbaram
Partner - Master III
Partner - Master III

hei

hope i understood your question

look at the attach file

the trigger is defined in the document properties in the triggers tab

in the section of field event triggers

check the plant field

tresesco
MVP
MVP

Hi,

you can try something like this: use variable event trigger; use a variable to hold value of selected value count (var=getselectedcount(field)), then trigger the clear field trigger while var=0.

Hope this helps.

Regards,  tresesco

somenathroy
Creator III
Creator III
Author

Thanks for your help.