{"action":"closed","issue":{"url":"https://api.github.com/repos/1000hz/bootstrap-validator/issues/173","labels_url":"https://api.github.com/repos/1000hz/bootstrap-validator/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/1000hz/bootstrap-validator/issues/173/comments","events_url":"https://api.github.com/repos/1000hz/bootstrap-validator/issues/173/events","html_url":"https://github.com/1000hz/bootstrap-validator/issues/173","id":97676098,"number":173,"title":"Two errors displayed at a time on form validation","user":{"login":"sunnyprakash","id":2196555,"avatar_url":"https://avatars.githubusercontent.com/u/2196555?v=3","gravatar_id":"","url":"https://api.github.com/users/sunnyprakash","html_url":"https://github.com/sunnyprakash","followers_url":"https://api.github.com/users/sunnyprakash/followers","following_url":"https://api.github.com/users/sunnyprakash/following{/other_user}","gists_url":"https://api.github.com/users/sunnyprakash/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyprakash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyprakash/subscriptions","organizations_url":"https://api.github.com/users/sunnyprakash/orgs","repos_url":"https://api.github.com/users/sunnyprakash/repos","events_url":"https://api.github.com/users/sunnyprakash/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyprakash/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-28T10:56:22Z","updated_at":"2015-07-30T02:59:38Z","closed_at":"2015-07-30T02:59:38Z","body":"Hi,\r\nI am trying to execute below code.\r\n\\<input type=\"text\" class=\"form-control\" id=\"empid\" name=\"empid\"\r\ndata-minlength=\"4\" maxlength=\"20\" data-minlength-error=\"Minimum 4 characters required\"\r\npattern=\"^([A-Za-z0-9]{1,}[a-zA-Z0-9.!@()-_`~]{0,}[A-Za-z0-9]{1,}){1,}$\" \r\nplaceholder=\"EMP ID\"\r\ndata-error=\"EMP ID is invalid\" required>\r\n\r\nIn some cases, it gives both error i.e data-minlength-error and data-error in \\<div class=\"help-block with-errors\"></div> by listing \\<li>. How can we restrict to show only one error i.e data-error ?"}}