{"action":"closed","issue":{"url":"https://api.github.com/repos/niceue/nice-validator/issues/203","labels_url":"https://api.github.com/repos/niceue/nice-validator/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/niceue/nice-validator/issues/203/comments","events_url":"https://api.github.com/repos/niceue/nice-validator/issues/203/events","html_url":"https://github.com/niceue/nice-validator/issues/203","id":124215345,"number":203,"title":"支持给相同 name 的多个字段添加不同规则","user":{"login":"niceue","id":1498854,"avatar_url":"https://avatars.githubusercontent.com/u/1498854?v=3","gravatar_id":"","url":"https://api.github.com/users/niceue","html_url":"https://github.com/niceue","followers_url":"https://api.github.com/users/niceue/followers","following_url":"https://api.github.com/users/niceue/following{/other_user}","gists_url":"https://api.github.com/users/niceue/gists{/gist_id}","starred_url":"https://api.github.com/users/niceue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niceue/subscriptions","organizations_url":"https://api.github.com/users/niceue/orgs","repos_url":"https://api.github.com/users/niceue/repos","events_url":"https://api.github.com/users/niceue/events{/privacy}","received_events_url":"https://api.github.com/users/niceue/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/niceue/nice-validator/labels/documentation","name":"documentation","color":"666666"},{"url":"https://api.github.com/repos/niceue/nice-validator/labels/new","name":"new","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/niceue/nice-validator/milestones/19","html_url":"https://github.com/niceue/nice-validator/milestones/0.9.0","labels_url":"https://api.github.com/repos/niceue/nice-validator/milestones/19/labels","id":846069,"number":19,"title":"0.9.0","description":"TODO","creator":{"login":"niceue","id":1498854,"avatar_url":"https://avatars.githubusercontent.com/u/1498854?v=3","gravatar_id":"","url":"https://api.github.com/users/niceue","html_url":"https://github.com/niceue","followers_url":"https://api.github.com/users/niceue/followers","following_url":"https://api.github.com/users/niceue/following{/other_user}","gists_url":"https://api.github.com/users/niceue/gists{/gist_id}","starred_url":"https://api.github.com/users/niceue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niceue/subscriptions","organizations_url":"https://api.github.com/users/niceue/orgs","repos_url":"https://api.github.com/users/niceue/repos","events_url":"https://api.github.com/users/niceue/events{/privacy}","received_events_url":"https://api.github.com/users/niceue/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":5,"state":"open","created_at":"2014-10-30T02:20:54Z","updated_at":"2015-12-29T14:03:30Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-12-29T14:02:41Z","updated_at":"2015-12-29T14:03:30Z","closed_at":"2015-12-29T14:03:30Z","body":"```html\r\n<input name=\"num\" id=\"num1\" data-rule=\"required;range(0~100)\">\r\n<input name=\"num\" id=\"num2\" data-rule=\"required;range(0~200)\">\r\n<input name=\"num\" id=\"num3\" data-rule=\"required;range(0~300)\">\r\n```\r\n以上字段 name 相同，但是规则不同。必须设置不同的 id，才能分别验证不同规则和分别提示消息"}}