I\'m loading a dialog box with a form that\'s built on-the-fly using Bootbox.js and I\'m validating user input with a jQuery validate plugin.
Validation works just f
Thanks Sparky for your help, the solution your provided gave me the answer. It seems having the submitHandler causes some confusion for the submit logic.
I removed the submitHandler and added the following to success callback and everything works as expected
success: {
label: "Submit",
className: "btn btn-sm btn-primary",
callback: function () {
if($("#webteamContactForm").valid()){
var form = $("#webteamContactForm");
form.submit();
} else {
return false;
}
}
}