title: Best approach to add input validation on a mvc form?
body: <p>I need the following validation on several input fields:</p>
  
  <pre><code>01 - Unicode String. No line breaks or tabs. DATA_MAX_LENGTH applies.
  02 - Unicode Memo. Line breaks permitted. No tabs. DATA_MAX_LENGTH applies.
  03 - Non-negative integer, as string.
  04 - Non-negative Money (precision 18,2), as string.
  05 - Date, as string, in the U.S. 4-digit-year format (e.g. 12/31/2012).
  06 - Boolean (aka "Bit", "Yes/No"), as string, with "1" for True, "0" for False.
  </code></pre>
  
  <p>Is there a Jquery plugin that provide all these validation (or can be extended) or would using several plugin be a good idea. I am using MVC3 and I need them for dynamic controls on the form.</p>
  
  <p>My model Question (these questions will be created for a dynamic quiz form):</p>
  
  <pre><code>public class Question
      {
  
          public int QuestionID { get; set; }
          public string QuestionText { get; set; }
          public Nullable&lt;bool&gt; Required { get; set; }
          public int DisplayOrder { get; set; }
          public int StepID { get; set; }
          public Nullable&lt;int&gt; DataType { get; set; }   // validation relate here (1-6)
          public Nullable&lt;int&gt; ControlType { get; set; }
          public string Choices { get; set; }
          public Nullable&lt;int&gt; MaxLength { get; set; }
  
      }
  </code></pre>