I have jQuery notify that posts warning messages based on certain selections: What I need to do is to not to submit the form when the warning/notification message shows up. Only when the error is resolved, is to submit the form.
  $('.Reason').change(function(event)
    {
        var id = $(this).data('item-id');
        var sPrice = $(this).data('price');
        var reason = $(this).val();
        var aPrice = $(this).data('aPrice');
        if (reason > 0 && (aPrice == sPrice)){
            $('##' + id).notify(
            {
                title: 'Warning',
                text: "Both pricing can't match, Please fix before conitniuing.",
                image: '<i class="fa fa-2x fa-exclamation-circle"></i>'
            },
            {
                style: 'cosentino',
                className: 'error',
                position: 'top center',
                clickToHide: true,
                autoHide: false
            });
        }
       $('##frmJobEntry').validate(
        {
            errorClass: 'JoblineInlineError'
        });
 
    