title: How to get Value from form (symfony 1.4)
body: <p>I've made complex form which is valid in action. I'd like to get value from this input to save file on server.</p>
  
  <pre><code>&lt;input type="text" 
      name="produkty[pForm][1][caption]" 
      id="produkty_pForm_1_caption" /&gt;
  </code></pre>
  
  <p>I've tried something like that:</p>
  
  <pre><code>$this-&gt;form=new ProduktyForm();
  
  if ($request-&gt;isMethod(sfRequest::POST))
  {
     $this-&gt;form-&gt;bind($request-&gt;getParameter('produkty'),$request-&gt;getFiles('produkty'));
     if ( $this-&gt;form-&gt;isValid())
     {
         $file=$this-&gt;form-&gt;getValue('produkty[pForm][1][src]');
         $filename='u';
         $extension = $file-&gt;getExtension($file-&gt;getOriginalExtension());
         $file-&gt;save(sfConfig::get('sf_upload_dir').'/'.$filename.$extension);
     }
  }
  </code></pre>
  
  <p>But it doesn't work.</p>