title: MVC4 C# multiple Forms one page validations
body: <p>I've got 3 forms on one view on mvc project like this"</p>
  
  <p>VIEW:</p>
  
  <pre><code> &lt;div&gt;
          &lt;fieldset&gt;            
              &lt;legend&gt;Deposit Money&lt;/legend&gt;
              &lt;div&gt;@Html.LabelFor(u=&gt;u.AccountNumber1)&lt;/div&gt;
              &lt;div&gt;@Html.DropDownList("Accounts",  "-- Select Account --")
              &lt;/div&gt;
  
              &lt;div&gt;@Html.LabelFor(u=&gt;u.Amount)&lt;/div&gt;
              &lt;div&gt;@Html.TextBoxFor(u =&gt; u.Amount,new {style = "width:150px"})
                  @Html.ValidationMessageFor(u =&gt; u.Amount)
              &lt;/div&gt;
  
              &lt;div&gt;@Html.LabelFor(u=&gt;u.Comment)&lt;/div&gt;
              &lt;div&gt;@Html.TextAreaFor(u =&gt; u.Comment,new {style = "width:250px"})
                  @Html.ValidationMessageFor(u =&gt; u.Comment)
              &lt;/div&gt;
  
              &lt;input type="submit" value ="Submit" /&gt;
              &lt;input type="reset" value ="Clear" /&gt;
  
          &lt;/fieldset&gt;
  
      &lt;/div&gt;
  
  }
  &lt;/div&gt; 
  &lt;div id="middlepanel" style="position:absolute;left:33%;right:33%;"&gt;
      @using (Html.BeginForm("Withdrawal", "ATM", FormMethod.Post, new { })) 
  {
      @Html.ValidationSummary(true,"Deposit Failed. Check Your Details");
  
      &lt;div&gt;
          &lt;fieldset&gt;
              &lt;legend&gt;Withdraw Money&lt;/legend&gt;
              &lt;div&gt;@Html.LabelFor(u=&gt;u.AccountNumber1)&lt;/div&gt;
              &lt;div&gt;@Html.DropDownList("Accounts",  "-- Select Account --")
              &lt;/div&gt;
  
              &lt;div&gt;@Html.LabelFor(u=&gt;u.Amount)&lt;/div&gt;
              &lt;div&gt;@Html.TextBoxFor(u =&gt; u.Amount,new {style = "width:150px"})
                  @Html.ValidationMessageFor(u =&gt; u.Amount)
              &lt;/div&gt;
  
              &lt;div&gt;@Html.LabelFor(u=&gt;u.Comment)&lt;/div&gt;
              &lt;div&gt;@Html.TextAreaFor(u =&gt; u.Comment,new {style = "width:250px"})
                  @Html.ValidationMessageFor(u =&gt; u.Comment)
              &lt;/div&gt;
  
              &lt;input type="submit" value ="Submit" /&gt;
              &lt;input type="reset" value ="Clear" /&gt;
  
          &lt;/fieldset&gt;
  
      &lt;/div&gt;
  
  }
  &lt;/div&gt; 
  &lt;div id="rightpanel" style="position:absolute;right:0;width:33%;"&gt;
      @using (Html.BeginForm("Transfer", "ATM", FormMethod.Post, new { })) 
  {
      @Html.ValidationSummary(true,"Deposit Failed. Check Your Details");
  
      &lt;div&gt;
          &lt;fieldset&gt;
              &lt;legend&gt;Transfer Money&lt;/legend&gt;
              &lt;div&gt;@Html.LabelFor(u=&gt;u.AccountNumber1)&lt;/div&gt;
              &lt;div&gt;@Html.DropDownList("Accounts",  "-- Select Account --")
              &lt;/div&gt;
              &lt;div&gt;@Html.LabelFor(u=&gt;u.AccountNumber2)&lt;/div&gt;
              &lt;div&gt;@Html.DropDownList("Accounts",  "-- Select Account --")
              &lt;/div&gt;
  
              &lt;div&gt;@Html.LabelFor(u=&gt;u.Amount)&lt;/div&gt;
              &lt;div&gt;@Html.TextBoxFor(u =&gt; u.Amount,new {style = "width:150px"})
                  @Html.ValidationMessageFor(u =&gt; u.Amount)
              &lt;/div&gt;
  
              &lt;div&gt;@Html.LabelFor(u=&gt;u.Comment)&lt;/div&gt;
              &lt;div&gt;@Html.TextAreaFor(u =&gt; u.Comment,new {style = "width:250px"})
                  @Html.ValidationMessageFor(u =&gt; u.Comment)
              &lt;/div&gt;
  
              &lt;input type="submit" value ="Submit" /&gt;
              &lt;input type="reset" value ="Clear" /&gt;
  
          &lt;/fieldset&gt;
  
      &lt;/div&gt;
  
  }
  &lt;/div&gt;
  </code></pre>
  
  <p>in my controller,  I am processing each of the above functionality.</p>
  
  <p>However when one of the forms have an error (i.e blank field)
  error is displayed on all the forms (validationSummary)</p>
  
  <p>how can I build invidual errors per form?</p>