Closed
Description
this is rather a question than an issue report.
is there a way to revalidate or re-enable the validation e.g. after a in-browser change of the form (e.g. add some special inputs after checking a checkbox)
currently I try to re-run this function. the problem here is, that the onSuccess callback is fired twice when executing enableValidation twice.
var enableValidation = function () {
$.validate({
onError : function () {
alert('Validation failed');
},
onSuccess : function () {
alert('Validation failed');
}
});
};
Hope you understand what I mean :-)