title: in #MVC3 is there a way to add the HTML5 placeholder attribute using a DataAnnotations attribute?
body: <p>given this is my model</p>
  
  <pre><code>public class ValidationModel
  {
      #region Properties
  
      [Display(Prompt = "type a PostCode here")]
      public string PostCode { get; set; }
  
  }
  </code></pre>
  
  <p>and this is my view </p>
  
  <pre><code>@using (Html.BeginForm())
  {
      @Html.LabelFor(m =&gt; m.PostCode)
      @Html.TextBoxFor(m =&gt; m.PostCode)
  
  }
  </code></pre>
  
  <p>is there a way to make it render </p>
  
  <pre><code>&lt;input data-val="true" id="PostCode" name="PostCode" placeholder="type a PostCode here" type="text" value="" /&gt;
  </code></pre>
  
  <p>I could not make it work even if from the documentation <a href="http://bit.ly/jVpM8X" rel="noreferrer">http://bit.ly/jVpM8X</a> I can clearly see Display Prompt should do the job</p>