I am using jquery form validation to alert the user if the form is not valid.
if (!$(Form1).valid()) {
alert("invalid form")
}
is there a way to force the form to be invalid in javascript.
for example I have a textbox and if it's value is "123" I want the form to become invalid.
something like this:
if($("#TextBox1").val()=="123"){
$(Form1).valid() = false;
}