title: form get with value in mvc route
body: <p>I am working with mvc4 and have a field where a user can enter some text in to an input field which gets passed to the url and redirect to another page eg. /search/&lt;></p>
  
  <p>My form is as follows but redirects as query string.</p>
  
  <pre><code>&lt;form class="search" action="@Url.Action("Index", "Search")"&gt;
  &lt;div&gt;
      &lt;input name="q" value="" type="search" /&gt;
      &lt;input type="image" name="btn" value="search" src="@Url.Content("/image1.jpg")" /&gt;
  &lt;/div&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>Any idea how I could alter my form to pass the inputed value to input "q" to the url.</p>