title: How to send textarea value as a parameter in a POST request
body: <p>I am trying send the value of a textarea using a Post method when a button is clicked.</p>
  
  <p>Code is very simple:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;form action="/editFile" name="confirmationForm" method="post"&gt;
  &lt;textarea id="confirmationText" class="text" cols="86" rows ="20"     name="confirmationText" form="confirmationForm"&gt;
   &lt;out value="#{user.getFileContent}"/&gt;
  &lt;/textarea&gt;
  &lt;input type="submit" value="Email" class="submitButton" id=""/&gt;
  &lt;/form&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>To get this data when this request is done I am using CWF web framework and the methode is very simple:</p>
  
  <pre><code>void editFileController::doPost(CWF::Request &amp;request, CWF::Response    &amp;response) const
  {
    QString out = request.getParameter("confirmationText");//this will give me the value of the widget "confirmationText" from HTML
    QString out1 = request.getParameter("confirmationForm");
  }
  </code></pre>
  
  <p>In order to get value of a filed this is done in this way:</p>
  
  <pre><code>&lt;input type="file" name="test"/&gt;
  request.getPatameter("test"); //all works ok
  </code></pre>
  
  <p>But for the first example (the one with textarea) I can't set it to send the value of textarea when button is pushed.
  Can anyone give me some ides about how I can fix this? This frameworks know only to give me the <strong>value</strong> for a specific <strong>name</strong>. So, somehow I should set the value of the button with the value of the textarea when this is pushed.</p>
  
  <p>Thank you. </p>