Menu
I have a list of validations on the save event of a form…
but when :
f.myval2.value !== f.myval3.value
is true i want to stop tha javascript and get them to do something else…
But it keeps failing by trying to proceed through the validation.
I have put a Break command in but am being told its invalid…
any help appreciated…
thanks
if (f.myval2.value !== f.myval3.value) {
break;
alert (“You must complete the info form before continuing….”);
return false;
}