In the .js file, any chars are stripped out from the two fields.
var cmDateOfInjury = stripCharsNotInBag (form.cmDateOfInjury.value, "1234567890");
form.cmDateOfInjury.value = cmDateOfInjury;
var cmDateNotify = stripCharsNotInBag (form.cmDateNotify.value, "1234567890");
form.cmDateNotify.value = cmDateNotify;
The cmDateNotify cannot be before the cmDateOfInjury. How do I convert the dates and compare?