title: BeginForm and AttributeRouting
body: <p>I am having trouble figuring out or understanding how to make my routing work as i would like it to work in my project.</p>
  
  <p>I have the following form in a view</p>
  
  <pre><code> @using (Html.BeginForm("Filter", "Aanbod", FormMethod.Get))
      {
      &lt;div class="filterBarComponent"&gt;
          &lt;div class="dropdownContainer"&gt;
              @Html.DropDownList("Merk", EnumHelper.GetSelectList(typeof(Merken)), "-- Kies Merk")
          &lt;/div&gt;
          &lt;div class="dropdownContainer"&gt;
              @Html.DropDownList("Brandstof", EnumHelper.GetSelectList(typeof(Brandstoffen)), "-- Kies Brandstof")
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="filterBarComponent"&gt;
          &lt;div&gt;
              &lt;label for="sliderPrijs"&gt;Maximum Prijs&lt;/label&gt;
              &lt;input id="sliderPrijs"  name="prijs"
                     type="range"
                     min="100" max="100000"
                     step="100" value="@ViewBag.prijs"
                     oninput="outputUpdatePrijs(value)"
                     class="slider"&gt;
              &lt;output for="sliderPrijs" id="prijs"&gt;&lt;/output&gt;
          &lt;/div&gt;
          &lt;div&gt;
              &lt;label for="sliderKm"&gt;Kilometer Stand&lt;/label&gt;
              &lt;input id="sliderKm" name="km"
                     type="range"
                     min="0" max="500000"
                     step="10000" value="@ViewBag.km"
                     oninput="outputUpdateKilometers(value)"
                     class="slider"&gt;
              &lt;output for="SliderKm" id="kmStand"&gt;&lt;/output&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="filterBarComponent"&gt;
          &lt;input type="submit" value="Zoeken" class="filterbutton"/&gt;
      &lt;/div&gt;
      }
  </code></pre>
  
  <p>The form leads to this controller action.</p>
  
  <pre><code>[Route("filter/{km}/{prijs}/{merk}/{brandstof}/{page}")]
          [HttpGet]
          public ActionResult Filter( int km, int prijs, Merken merk = Merken.AlleMerken, Brandstoffen brandstof = Brandstoffen.AlleBrandstoffen, int page = 0 )
          {
             ....
  
          }
  </code></pre>
  
  <p>My Url is always <code>/filter?Merk=&amp;Brandstof=&amp;prijs=25000&amp;km=250000</code><br>
  While i want to achieve this <code>/filter/10000/5600/2/1</code></p>
  
  <p>Is it possible to do this while using forms?<br>
  If so, how? if not, what should i do as alternative?</p>