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

Jquery validation engine not working with Jquery 3.4.1 #968

Closed sannip closed 5 years ago

sannip commented 5 years ago

Size() was deprecated years ago and removed in version 3. So, jquery validation engine fails with the below error.

jquery.validationEngine.js:968 Uncaught TypeError: form.find(...).size is not a function at _required (jquery.validationEngine.js:968) at Object._getErrorMessage (jquery.validationEngine.js:873) at Object._validateField (jquery.validationEngine.js:606) at HTMLInputElement. (jquery.validationEngine.js:363) at Function.each (jquery-3.4.1.js:367) at jQuery.fn.init.each (jquery-3.4.1.js:202) at Object._validateFields (jquery.validationEngine.js:359) at jQuery.fn.init.validate (jquery.validationEngine.js:120) at jQuery.fn.init.$.fn.validationEngine (jquery.validationEngine.js:2060) at ValidateAddOppForm (O10000293:930)

dennybrandes commented 5 years ago

I will check. Thanks for report.

dennybrandes commented 5 years ago

@posabsolute can you assign this issue to me please?

dennybrandes commented 5 years ago

it is fixed in version 3.0.0

sannip commented 5 years ago

Thanks