I'm using Inline Form Validation Engine to validate a form. Now I want to prevent the form submit. I tried something like this :
$("#ws-form").submit(function(){
return false;
});
$("#quotation-form").submit(function(){
return false;
});
Preventing form submit works for #ws-form but not for #quotation-form
These forms have almost the same validation:
$("#ws-form").validationEngine('attach',{
onValidationComplete: function(form, status){
if(status === true){
// some treatment
}
}
});
You can find an example of the forms here. My question how can I prevent the submit for this form?