title: HTML POST method not displaying result
body: <p>I am trying to get the result to displayed in web but only get the param specified in the html code and not the actual entry that was made with the form. 
  The form takes in a string and then should be displayed as a result, but I only get the output below.</p>
  
  <p>I am new to this so any guidance please.</p>
  
  <pre><code>@app.route('/dibble2', methods=["GET", "POST"])
  def dibble2():
      if request.method == "POST":
          input1 = None
          input1 = str(request.form["input1"])
          if input1 is not None:  
              result = is_create_ds(string1)
              return render_template("outco.html", result = result)
  
      return render_template("inco.html")
  </code></pre>
  
  <p>Output I get displayed once you submit the entered string is:  </p>
  
  <blockquote>
    <p>Result Check: {result}</p>
  </blockquote>
  
  <p>It should output something like the following:</p>
  
  <blockquote>
    <p>Result Check: Alright</p>
  </blockquote>
  
  <p>Here is the html code it calls:</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          &lt;p&gt;Result Check: {result}&lt;/p&gt;
          &lt;p&gt;&lt;a href="/dibble2"&gt;Try Again&lt;/a&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>