How to change the condition set for a field to another field?