title: symfony: question about a choice widget
body: <p>I have a choice widget in a form:</p>
  
  <pre><code>$years = range(14,130);
  $this-&gt;widgetSchema['age'] = new sfWidgetFormSchema();
  foreach (array('from', 'to') as $value)
  { 
      $this-&gt;widgetSchema['age'][$value] = new sfWidgetFormChoice(array(
          'label' =&gt; $value,
              'choices' =&gt; array_merge(array('' =&gt;  '-'),array_combine($years,$years)))); 
  }
  </code></pre>
  
  <p>If i choose for example 14 and in the action that receives the form is written something like this:</p>
  
  <pre><code>var_dump($valores_widgets['age']['from']);
  </code></pre>
  
  <p>that shows 0. But I expected 14.</p>
  
  <p>Any idea?</p>
  
  <p>Regards</p>
  
  <p>Javi</p>