I am using jQuery validate on a form. To take the validation a little further i need to be able to compare dates
ie. date1 is okay as long as it's less than or equal to date2
ive put something together but it isn't working how i'd expect. i initially thought that this may be a dd/mm/yyyy issue.
if someone could have a look for me that would be great. sorry if the code has become a little messy
For example, In the screenshot it shows an error when the date recieved is less than any other date. this is correct and shouldn't show an error. A list of the rules are within the html
Thanks in advance
heres a live link