title: Jquery - Validating time value on a form - correct way?
body: <p>After google searching, searching this site as well as <a href="http://docs.jquery.com/Plugins/Validation" rel="noreferrer">jQuery</a> found there was no easy way to validate time value.</p>
  
  <p>By the looks of things it suggest using <a href="http://docs.jquery.com/Plugins/Validation/Validator/addMethod" rel="noreferrer">addMethod</a> and use the to regexpess the value to check against what time should look like.</p>
  
  <p>However decided to look at the <code>jquery.validate.js</code> and how dateISO was checked, it looked lot easier way to do it, so I then copied all data relating to dateISO and called it timeISO and changed the string to validate time and used the following time sting</p>
  
  <pre><code>^([01]\d|2[0-3]):[0-5]\d:[0-5]\d$ 
  </code></pre>
  
  <p>Is there some reason why one should not modify <code>jquery.validate.js</code> and do it the way I have? Just a little bit worried as all my searching on google and this forum it was never suggested.</p>