Jquery class based validations showing wrong output? : [enter image description here][1]


  [1]: https://i.stack.imgur.com/NYkGl.jpg

Here I'm trying to do Jquery class based validation and it works well but it shows wrong output as well. when i click on search button in search field below fields are getting validated . I'm not getting why is it so happening ? 