Skip to main content
Showing results for 
Search instead for 
Did you mean: 
Partner - Creator III
Partner - Creator III

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
Partner - Creator III
Partner - Creator III

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 - Contributor
Partner - Contributor

This worked for me as intended. Thanks Bgerchikov !