title: disable the future date and the current date
body: <p><a href="http://i.stack.imgur.com/pz6xv.png" rel="nofollow">Here is my Interface, and i wanted the user to input only the date of his birth</a>Here is my code. I want to disable the future date and the current date for my "Date of Birth" field</p>
  
  <pre><code>&lt;div class="form-group"&gt;
                                  &lt;label class="control-label"
                                      for="personal_information.date_of_birth"&gt;Date of Birth&lt;/label&gt;
                                  &lt;input class="form-control" 
                                      rv-value="data.personal_information.date_of_birth"
                                      name="dateOfBirth" id="dateOfBirth" data-validate="required"
                                      data-mask="yyyy-mm-dd" placeholder="Pre-formatted birth date" /&gt;
                              &lt;/div&gt;
  </code></pre>