Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

Trigger to clear a field when another field is cleared

I have a field (A) that I have some triggers set to select the same value in another field (B) when something is selected in field A.

However, when the user selects the same value that is already selected in field A, it clears field A, and I want it to also clear field B. But field B is still holding onto the value originally given to it, when field A was selected and triggered the selection of field B.

Is there a way to clear a field using triggers based on the value of another field?

2 Replies
Highlighted
Partner
Partner

Hi Crystle,

Try to use trigger OnChange, OnSelect for Field A Select in Field B the following expression:

= '(' & getfieldselections(A,'|') & ')'

You may need to do the same for the field B

Hope, it will help

Partner
Partner

This worked for me as intended. Thanks Bgerchikov !