Empty textfield by if checkbox has been checked?

Empty textfield by if checkbox has been checked?

Hi guys,

I'd like a checkbox to once checked to empty the value of a text field next to it.

The form I require has two tables - each with multiple checkboxes and formfields - so if i tick the checkbox on the 2nd row in table 1, it will empty the 2nd textfield in table 1.

Can anyone help me out plz I am a bit of newbie

Thanks in advance