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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
nboccassini
Partner - Creator
Partner - Creator

Trigger on deselction on a field

Is there a trigger on a deselection on a field?
I need to "link" two fields, and I want that all the selections on a field A are applied on the field B.

Now I've done the "link" on the selection for a single value in a field, but if I select more than one value or deselect the value, the selections doens't applied on the second field.

6 Replies
Not applicable

Gabriele,

A and B are 2 fields with the same values or maybe it is tha same field but in alternate states?

regards

Darek

nboccassini
Partner - Creator
Partner - Creator
Author

Darek,

A and B are different fields but they have the same values.

MK_QSL
MVP
MVP

Can you please provide little sample data or apps ... Thanks

Not applicable

Gabriele,

I dont knbow your application and user needs, but do you really need to copy those selections?

Is'nt it better to associate those fields?

regards

Darek

Not applicable

Are you talking about select alternative option ??

Once you select field on list box A , Right click on Box B and click select Applicable.

To automate this using a trigger go to the following

1. Settings -> Document Properties -> Triggers

2.  On Field EvenT Triggers - > select List Box A

3. Add Action OnSelect

4. On the new dialog box - choose "Add" and create a "Select in Field " trigger for List box B

Hope this helps

lironbaram
Partner - Master III
Partner - Master III

have a look at the attach example

it uses trigger on the f1 field

any selection in f1 will be copied to f2