I'm very new to JavaScript, but can't you try returning it false?<br><br>function checkcurrent() {<br>if (form.Patient_ID.value == "" ?? form.Hospital.value == "") {<br>alert("Please enter both the patient ID and the hospital");<br>return false;<br>}else{...
I have spent so much time on it that I've got myself confused! I am trying to make a form with and address. (city, state, and zip) where it will validate it. The city must be greater than 2 characters long, with no numbers, the state must be 2 characters long with no...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.