title: Copy field values in Acrobat using Javascript
body: <p>How can I copy the form field values from one set of fields to another using javascript. </p>
  
  <p>The idea here is to have a 'use shipping/billing address' type of button that copies the user information from one block of fields to another identical set of fields. </p>
  
  <p>Right now, I call an action upon click of a button to execute the following javascript:</p>
  
  <pre><code>this.field1.value = this.field2.value;
  </code></pre>
  
  <p>However that action yields an 'undefined' error in the debugger. </p>