Menu
I am trying to check to be sure a form field is not empty or contain these values. It’s not working. Any help would be appreciated ?
field = form.dropOff
if (field.value == 0 || == ‘2006-04-18′,’2006-05-30′,’2006-07-04′,’2006-11-24′,’2006-12-24′,’2006-12-25′,’2007-01-01’ ) {
alert (“Your drop off date is required. No pick-ups or Drop offs on Holidays”);
field.focus();
return false;
}