title: Jquery that changes hidden input value when another field is altered and how to reverse it?
body: <p>I am using Jquery to change the value of a hidden input to 'True' when the user inputs a value into a different form field.  It looks like this</p>
  
  <pre><code>$(function(){
  $('#vmake').change(function(){
  $('#carsearch').val('True');
  });
  </code></pre>
  
  <p>It works great except if the user changes their mind and deletes their input, the hidden input keeps the value of 'True'.  I want to make it so that if they change their mind and delete the #vmake input, it changes the value of #carsearch back to 'False'.  </p>
  
  <p>I would really appreciate any input on how this is accomplished.  Thanks in advance!</p>