posabsolute / jQuery-Validation-Engine

jQuery form validation plugin
http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/
2.57k stars 1.2k forks source link

(hide) hiding all error prompts?! #966

Open garethwatt opened 5 years ago

garethwatt commented 5 years ago

I've read the documentation and looked online. when I call validationEngine('hide') on a form element it hides all the form's error messages. It's supposed to just hide the one element's error prompt. I've read the documentation and looked online. I can't work it out?!

jQuery(document).ready( function() {
        // binds form submission and fields to the validation engine
        jQuery("#enquiryForm").validationEngine('attach', { promptPosition: "topLeft" });
    });

$('#m_email').focus(function() {
  $('#m_email').validationEngine('hide');
}); 
dennybrandes commented 5 years ago

It is a bug. Will fix it soon. Thanks for reporting