title: web2py send value from a form to another controller
body: <p>I'm trying to get value from user using form and send the value to another controller to do some operation on it </p>
  
  <blockquote>
    <p>Simple Example :
    how to send x from (default/index.html) to (output/index.html)
    or 
    how to call the function (output/index) in (default/index.html)</p>
  </blockquote>
  
  <pre><code>default.py 
  index(): 
  return dict()
  
  index.html 
  {{extend 'layout.html'}} 
  &lt;form enctype="multipart/form-data" action="{{=URL()}}" method="post"&gt;
   Your name: &lt;input name="name" /&gt; &lt;input type="submit" /&gt; 
  &lt;/form&gt; 
  {{x=request.vars.name}} 
  
  output.py 
  index(x): 
  return x
  </code></pre>