Form validation on edit not working?

Form validation on edit not working?

I don't think it's me, but knowing me it probably is. The field validation that was working before just stopped, seemingly out of nowhere. When I found it not working I then tried to get just a basic (if this input doesn't equal this number then alert and cancel submit) and still no go. Here's what I am trying to get working:

if ((input.Status  ==  "Repair")  &&  ((input.Repair  !=  "Sanding")  &&  (input.Repair  !=  "Lamination")))
{
    alert "Don't forget to mark who's repairing it above";
    cancel submit;
}

The form submits every time, no matter what. It's really odd.