title: EasyAutocomplete: change the returned value
body: <p>I would like to use the EasyAutcomplete plugin to create an autocomplete list for the user and then to send the value associated to the matching string by GET method ... and not the matching string.</p>
  
  <p>Using this code  </p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;script src="//code.jquery.com/jquery-1.11.2.min.js"&gt;&lt;/script&gt;
      &lt;link rel="stylesheet" href="./EasyAutocomplete/easy-autocomplete.min.css"&gt; 
      &lt;link rel="stylesheet" href="./EasyAutocomplete/easy-autocomplete.themes.min.css"&gt;
      &lt;script src="./EasyAutocomplete/jquery.easy-autocomplete.min.js"&gt;&lt;/script&gt; 
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form method="get" action="test.php"&gt;
      &lt;input id="provider-file" name="get_value"/&gt;
      &lt;script&gt;
          $(document).ready(function() {
              var options = {
                  url: "./EasyAutocomplete/file.json",
                  getValue: "name",
                  list: {
                      match: {
                          enabled: true
                          }
                      }
                  };
              $("#provider-file").easyAutocomplete(options);
          });
      &lt;/script&gt;
          &lt;div&gt;
              &lt;a href=""&gt;&lt;input type="submit" value="send"/&gt;&lt;/a&gt;
          &lt;/div&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and the JSON file having the following format</p>
  
  <pre><code>[
  {"name":"Bob","id":"1"},
  {"name":"David","id":"2"},
  {"name":"Steve","id":"3"},
  ...
  ]
  </code></pre>
  
  <p>the user get redirected to 'test.php?get_value=Bob' after submitting Bob, while I would like him to be redirected to 'test.php?get_value=1' (i.e. to send "id" and not "name").</p>
  
  <p>Could anyone help me? I couldn't find any answer in the EasyAutocomplete doc. </p>