I'm having trouble applying it across multiple forms. the first form (
here) works just fine with the JS file (
here). However, when applying it to a separate form (
this one), base on the same code, with additions, it doesn't validate at all, instead it submits the form straight. The JS file for the second form can be found
HERE.