title: Getting form values of same form using twig
body: <p>I'm adding a confirm details dialogue to a form before it gets submitted, using a bootstrap modal. </p>
  
  <p>The form inputs look as follows:</p>
  
  <pre><code>&lt;input type="email" ... name="email" id="email" value="{{ submitted.email }}"/&gt;
  </code></pre>
  
  <p>I'd like to add a line of text to the modal body which reads something like:
  "Send to foo@bar.com?"</p>
  
  <p>I tried the these:</p>
  
  <pre><code>&lt;p&gt;Send to {{ form.email.get('value') }}&lt;/p&gt;
  &lt;p&gt;Send to {{ form.vars.value.email }}&lt;/p&gt;
  &lt;p&gt;Send to {{ submitted.email }}&lt;/p&gt;
  </code></pre>
  
  <p>The modal is inside the form which has the input i.o.w:</p>
  
  <pre><code>&lt;form method="post" ...&gt;
      ...
      &lt;input type="email" ..../&gt;
      ...
      &lt;button type="button" data-target="thisModal" data-toggle="modal"&gt; Open Modal &lt;/button&gt;
      &lt;div id="thisModal" class="modal"...&gt;
           ...
           &lt;div class="modal-body&gt;
               &lt;p&gt;Send to {{ XXXXXXX }}&lt;/p&gt;
           &lt;/div&gt;
           &lt;div class="modal-footer"&gt;
               &lt;button type="submit"&gt; Send &lt;/button&gt;
           &lt;/div&gt;
      &lt;/div&gt; 
  &lt;/form&gt;
  </code></pre>
  
  <p>Using all 3 prior methods it was simply an empty string, is it possible to grab those values in this way, if so any guidance would be appreciated.</p>