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?