title: Get form data using get method in python webapp2
body: <p>I am using python to develop a web app, and I want to get data from my form in the getmethod. How do I do this? Below is my code:</p>
  
  <pre><code>class RedirectPage(webapp2.RequestHandler):
      def get(self):
          self.response.write('&lt;html&gt;&lt;body&gt;&lt;h1&gt; TJust a trial &lt;/h1&gt;')
          self.response.write("""Enter your comment:
          &lt;form method = "get" name = "frm"&gt;
          &lt;input type = "textarea" id = "forms" name ="answered" value = "this"&gt;&lt;/input&gt;
          &lt;input type = "textarea" name ="unanswered" value = "this"&gt;&lt;/input&gt;
          &lt;input type = "textarea" name ="correct" value = "this"&gt;&lt;/input&gt;
          &lt;input type = "textarea" name ="wrong" value = "this"&gt;&lt;/input&gt;
          &lt;input type="submit"&gt;&lt;/input&gt;
          &lt;/form&gt;&lt;script type="text/javascript"&gt;
          var id = ""+window.location.hash;
          var details= id.substring(1,id.length);
          var user_details = new Array();
          user_details = details.split("gc");
          var answered = user_details[0];
          var unanswered = user_details[1];
          var correct = user_details[2];
          var wrong = user_details[3];
          document.frm.answered.value = answered;
          document.frm.unanswered.value = unanswered;
          document.frm.correct.value = correct;
          document.frm.wrong.value = wrong;
          &lt;/script&gt;"""
          )
  </code></pre>
  
  <p>Now, from the code above, how do I get like the value in <code>name="correct"</code>. I do not want to use the post method because I want the page to redirect after executing the code above.</p>