Populate a text field based on checkbox value
I am new to this and have a question.I am populating a field value to a different field based on a checkbox value. Scenario - add a name in text field. Then if I check box A, the value from the text field populates a text field in section A. If I check box B the value from the text field populates a text field in section B. I can get the values to populate when I check the box, but how do I clear the value if I uncheck the box? Thanks
