title: compare a input field value to a string or text symfony2
body: <p>I was trying to learn about framework and Ill be starting under "Symfony", then i got this problem, I create a </p>
  
  <pre><code>{{ form_widget(form.type) }} 
  </code></pre>
  
  <p>equivalent to </p>
  
  <pre><code>&lt;input type="text" class="type" id="type"/&gt; 
  </code></pre>
  
  <p>this element "input" have a value that given by a tab or menu if i click on it, example jumping.how do i compare it to a text using "Symfony" if statement like the logic below.</p>
  
  <pre><code>{% if jumping == "text" %}
  //it will do something
  {% endif %} 
  </code></pre>