title: JQuery Text Field Calculator
body: <p>I am trying to use JQuery to update the deposit field each time a number is inputted in the total text field. I think maybe I need to parse the data? Any help would be appreciated  </p>
  
  <p>Contact-Form-7 </p>
  
  <pre><code>&lt;label&gt; Name &lt;/label&gt;
      [text your-name] 
  
  &lt;label&gt; Total &lt;/label&gt;
      [number total min:1 class:total-amt] 
  
  &lt;label&gt; Deposit &lt;/label&gt;
      [number deposit id:deposit-amt] 
  
  [submit "Send"]
  </code></pre>
  
  <p>JQuery</p>
  
  <pre><code>&lt;script&gt;
  jQuery(document).ready(function($) {
      var $total_field = $('.total-amt'),
          $total_deposit = $('#deposit-amt');
  $total_field.on('input', function(e) {
          $total_deposit.val(($total_field * 0.4));
      })
  });
  &lt;/script&gt;
  </code></pre>