title: sfWidgetFormJQueryAutocompleter: how to retrieve the keys of the selected elements?
body: <p>i have this widget :</p>
  
  <pre><code>$this-&gt;widgetSchema['user']  = new sfWidgetFormChoice(array(
    'choices'          =&gt; array(),
    'renderer_class'   =&gt; 'sfWidgetFormJQueryAutocompleter',
    'renderer_options' =&gt; array('url' =&gt; 'autocomplete', 'config' =&gt; '{ multiple:true }'),
  ));
  </code></pre>
  
  <p>And this is the autocomplete function:</p>
  
  <pre><code>public function executeAutocomplete($request)
  {
  
  $this-&gt;getResponse()-&gt;setContentType('application/json');
  
  $q = "%" . $request-&gt;getParameter('q') . "%";
  
  $limit = $request-&gt;getParameter('limit');
  
  //Criteria code
  
  return $this-&gt;renderText(json_encode($cli));
  </code></pre>
  
  <p>}</p>
  
  <p>that returns this ("Response" tab in Firebug):</p>
  
  <pre><code>{"17":"John","18":"Ann"}   //the numbers are the values in the id field.
  </code></pre>
  
  <p>Then i choose both names in the autocomplete input this way:</p>
  
  <blockquote>
    <p>[John, Peter]</p>
  </blockquote>
  
  <p>When i submit the form, the getPostParameters() method returns this:</p>
  
  <pre><code>array
    'example' =&gt; 
      array
        'id' =&gt; string '' (length=0)
        '_csrf_token' =&gt; string '388774046d0f5c8b4a3f114ddb15af7b' (length=32)
        'user' =&gt; string '18' (length=2)
    'autocomplete_example' =&gt; 
      array
        'user' =&gt; string 'John, Ann, ' 
  </code></pre>
  
  <p>So what should i do to retrieve the id's of the users?</p>
  
  <p>sf 1.4.</p>
  
  <p>Javier</p>