title: Validate array of 'from date' and 'to date' using javascript
body: <p>I have a form to assign the user for the particular period and i can reassign the same user for the another period of time. I want to validate the user assigned date should not overlap. </p>
  
  <p>Ex Form Fileds:</p>
  
  <pre><code>Name        From date       To date
  User1       01-05-2014      10-05-2014
  User2       01-05-2014      20-05-2014
  User1       05-05-2014      20-05-2014 (This is Wrong Assignment. Need to alert)
  </code></pre>