title: How to link 2 input fields
body: <p>Is there a way to link 2 inputs to each other? For example, I have this code:</p>
  
  <pre><code>&lt;td&gt;&lt;input type="radio" name="server1" required="true" value="Yes" checked /&gt;Yes&lt;/input&gt;&lt;input type="radio" name="server1" required="true" value="No" /&gt;No&lt;/input&gt;&lt;/td&gt;
  </code></pre>
  
  <p>I need to add hidden input (or another radio button) that inserts 1 if Yes is selected and -1 if No is selected. (The value in this field will be inserted into different column in MySQL db).</p>
  
  <p>Thank you for any suggestions.</p>