{"action":"opened","issue":{"url":"https://api.github.com/repos/1000hz/bootstrap-validator/issues/69","labels_url":"https://api.github.com/repos/1000hz/bootstrap-validator/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/1000hz/bootstrap-validator/issues/69/comments","events_url":"https://api.github.com/repos/1000hz/bootstrap-validator/issues/69/events","html_url":"https://github.com/1000hz/bootstrap-validator/issues/69","id":57776798,"number":69,"title":"Response from .validator('validate')","user":{"login":"cpede","id":11026259,"avatar_url":"https://avatars.githubusercontent.com/u/11026259?v=3","gravatar_id":"","url":"https://api.github.com/users/cpede","html_url":"https://github.com/cpede","followers_url":"https://api.github.com/users/cpede/followers","following_url":"https://api.github.com/users/cpede/following{/other_user}","gists_url":"https://api.github.com/users/cpede/gists{/gist_id}","starred_url":"https://api.github.com/users/cpede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpede/subscriptions","organizations_url":"https://api.github.com/users/cpede/orgs","repos_url":"https://api.github.com/users/cpede/repos","events_url":"https://api.github.com/users/cpede/events{/privacy}","received_events_url":"https://api.github.com/users/cpede/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-16T08:31:34Z","updated_at":"2015-02-16T08:31:34Z","closed_at":null,"body":"I'm totally new to jQuery and your Validator, so maybe my question is stupid?\r\n\r\nI want to pragmatically validate my form. This works, but I want to know if the validation failed or succeeded.\r\n\r\nvar b = $('form[name=\"myform\"]').validator('validate'); // VALIDATES MYFORM\r\nif (b == false) alert(\"false\"); // NOT WORKING\r\n\r\nCan I use the return value \"b\" is some way to determine that?\r\n\r\nAlso can I set focus on the field that fails the validation?\r\n\r\n-cpede"}}