title: Using Data Annotations to check for a specific value
body: <p>I have the following properties in my data model:</p>
  
  <pre><code>[Required]
  [DataType(DataType.Text)]
  [Display(Name = "First Name")]
  public string FirstName { get; set; }
  
  [Required]
  [DataType(DataType.Text)]
  [Display(Name = "Last Name")]
  public string LastName { get; set; }
  </code></pre>
  
  <p>My textbox currently have a place holder in them so that when they focus on the textbox the place holder will disappear inside the textbox, if they don't type anything in then the text box val (<code>$(textbox).val()</code>) is eqaul to "First Name" or "Last Name", how can I check for this so that an error will be returned in my validation saying "Please fill out first name/last name" if the <code>FirstName</code> or <code>LastName</code> is equal to "First Name" and "Last Name"</p>