title: Html.DisplayFor not posting values to controller in ASP.NET MVC 3
body: <p>I am using ASP.NET MVC 3 with Razor, below is a sample from my view code.</p>
  
  <p>The user should be able to edit all their details, except the "EmailAddress" field. For that field only I have used <code>Html.DisplayFor(m =&gt; m.EmailAddress)</code>.</p>
  
  <p>But when this form gets posted, all the model properties are filled except the <code>EmailAddress</code>. </p>
  
  <p>How do I get the email back in the model when posting? Should I have used some helper other than <code>DisplayFor</code>?</p>
  
  <pre><code>@using (Html.BeginForm()) {
      @Html.ValidationSummary(true, "Account update was unsuccessful. Please correct any errors and try again.")
      &lt;div&gt;
          &lt;fieldset&gt;
              &lt;legend&gt;Update Account Information&lt;/legend&gt;
              &lt;div class="editor-label"&gt;
                  @Html.LabelFor(m =&gt; m.EmailAddress)
              &lt;/div&gt;
              &lt;div class="editor-field"&gt;
                  @Html.DisplayFor(m =&gt; m.EmailAddress)
                  @*@Html.ValidationMessageFor(m =&gt; m.EmailAddress)*@
              &lt;/div&gt;           
              &lt;div class="editor-label"&gt;
                  @Html.LabelFor(m =&gt; m.FirstName)
              &lt;/div&gt;
              &lt;div class="editor-field"&gt;
                  @Html.TextBoxFor(m =&gt; m.FirstName)
                  @Html.ValidationMessageFor(m =&gt; m.FirstName)
              &lt;/div&gt;
              &lt;div class="editor-label"&gt;
                  @Html.LabelFor(m =&gt; m.LastName)
              &lt;/div&gt;
              &lt;div class="editor-field"&gt;
              @Html.TextBoxFor(m =&gt; m.LastName)
                  @Html.ValidationMessageFor(m =&gt; m.LastName)
              &lt;/div&gt;
              &lt;p&gt;
                  &lt;input type="submit" value="Update" /&gt;                
              &lt;/p&gt;
          &lt;/fieldset&gt;
      &lt;/div&gt;
  }
  </code></pre>
  
  <p>Please advise me on this.</p>