title: Copy form input ONLY when checkbox is checked - React Hook Form
body: <p>I am trying to have two forms where the second form copies the input from the first one when the checkbox is checked.</p>
  <p>I came across this code from React Hook Form Library, however, even when the checkbox is NOT checked, the second form still copies the input from the first one.</p>
  <p>I've been trying to fix it but can't find what's wrong with the code.</p>
  <p>Here the CSB: <a href="https://codesandbox.io/s/cool-dew-1pvsw?file=/src/Contact.tsx" rel="nofollow noreferrer">https://codesandbox.io/s/cool-dew-1pvsw?file=/src/Contact.tsx</a></p>
  <p><a href="https://i.stack.imgur.com/BK8ra.png" rel="nofollow noreferrer">Copy Form Input</a></p>