This extension compares dates to ensure the order of the dates are correct. This helps reservations systems where departing dates need to be before returning dates.
It's free of charge and can be downloaded here:
details.php?id=19
Regards
Rune
Thanks Rune. That works perfectly as a client-side solution. It would be good to find a server-side one though eventually.