title: One input field, multiple names
body: <p>In a HTML form, how can I get two names from one input field? Is it possible through hidden input fields? And how?
  I tried to make the hidden field value dynamically equal to the non-hidden one (so that they will be equal no matter what the user writes), but I'm sure just that it doesn't work, not whether something like this would work. <a href="http://www.webdeveloper.com/forum/showthread.php?257221-HTML-input-with-multiple-names-functions" rel="nofollow">Here</a> was suggested that something similar should be possible.
  My problem should be in the value attribute - I tried different values, but I didn't manage to bind it to the foo value.</p>
  
  <pre><code>&lt;input name="foo" id="foo" type="text" value="foobar" /&gt;
  &lt;input type="hidden" name="bar" id="bar" value=foo /&gt;
  </code></pre>
  
  <p>I would prefer to solve it without Java Script.</p>
  
  <p>I'd like to use both attributes for different websites, which use different names for the same property (the same for our purpose, the role is slightly different, but format and value is the same).</p>