title: MVC 4 \ form submit button not working when view is using master layout
body: <p>ok, <a href="https://stackoverflow.com/questions/19173580/mvc-4-form-submit-button-doesnt-do-anything">after long investigation</a> , it seems like when I have a view that was created to work with the _layout.cshtml - the submit button in the form I have doesn't work (no action is returned to controller).</p>
  
  <p>Only when I created a view and unchecked "Use a layout or master page" - the button has worked!</p>
  
  <p>This seems extremely unclear, so - how can I have both view with the general _layout.cshtml alongside with a <a href="https://stackoverflow.com/questions/19173580/mvc-4-form-submit-button-doesnt-do-anything">working form button</a>? </p>
  
  <p>below:
  Try to implement a form in MVC4 (+Razor)</p>
  
  <p><strong>Controller (that should get the post action):</strong></p>
  
  <pre><code>public class GeneralController {
          [HttpPost]
                  public ActionResult SearchResults(SearchParamsModel searchParams)
                  {
                      // doin some stuff here
                      return View("SearchResultsView");
                  }
  }
  </code></pre>
  
  <p><strong>View (.cshtml)</strong></p>
  
  <pre><code>    @model Models.SearchParamsModel 
       @using (Html.BeginForm("SearchResults", "General", FormMethod.Post))
               {
   &lt;section class="form-field"&gt;
                              &lt;input type="text" name="Property1" id="Property1" class="field field139 autocomplete-init-no-img" /&gt;
                              &lt;label for="Property1"&gt;value1&lt;/label&gt;
                  &lt;form action="" method="post" class="clearfix"&gt;           
                      &lt;input 
                          type="submit" 
                          value="some value" 
                          class="submit btn blue-btn special-submit" /&gt;
                  &lt;/form&gt;
           &lt;/section&gt;
          }
  </code></pre>
  
  <p><strong>Model</strong></p>
  
  <pre><code>public class SearchParamsModel 
      {
          public string Property1{ get; set; }
      }
  </code></pre>