0

I'm trying to copy text from an AcroField named "Date Signed" to the field "In_Person_Date" if a checkbox is ticked. I tried

function sync()
{
  var n1 = document.getElementById('Date Signed');
  var n2 = document.getElementById('In_Person_Date');
  Date Signed.value = In_Person_Date.value;
}
</script>
<input type="text" name="Date Signed" id="Date Signed" onkeyup="sync()">
<input type="text" name="In_Person_Date" id="In_Person_Date"/>

Which I got from another answer, but it didn't work.

Abraham
  • 1,209
  • 2
  • 14
  • 22

0 Answers0