{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/5746","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/5746/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/5746/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/5746/events","html_url":"https://github.com/cakephp/cakephp/issues/5746","id":55469291,"number":5746,"title":"Add compare fields validator (to be used like password repeats)","user":{"login":"peterhofman","id":1218465,"avatar_url":"https://avatars.githubusercontent.com/u/1218465?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhofman","html_url":"https://github.com/peterhofman","followers_url":"https://api.github.com/users/peterhofman/followers","following_url":"https://api.github.com/users/peterhofman/following{/other_user}","gists_url":"https://api.github.com/users/peterhofman/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhofman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhofman/subscriptions","organizations_url":"https://api.github.com/users/peterhofman/orgs","repos_url":"https://api.github.com/users/peterhofman/repos","events_url":"https://api.github.com/users/peterhofman/events{/privacy}","received_events_url":"https://api.github.com/users/peterhofman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Enhancement","name":"Enhancement","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/7","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/7/labels","id":453043,"number":7,"title":"3.0.0","description":"New major release that breaks compatibility with 2.x\r\n\r\n- PHP5.4.19+\r\n- New ORM & behaviors.\r\n- Improved Routing\r\n- PSR-0 and composer support.\r\n- Simpler configuration and bootstrapping.\r\n- Improved configuration handling.\r\n- Improved bake.\r\n\r\nSee [the roadmap](http://github.com/cakephp/cakephp/wiki/3.0-roadmap) for more details.","creator":{"login":"lh-import","id":5175817,"avatar_url":"https://avatars.githubusercontent.com/u/5175817?v=3","gravatar_id":"","url":"https://api.github.com/users/lh-import","html_url":"https://github.com/lh-import","followers_url":"https://api.github.com/users/lh-import/followers","following_url":"https://api.github.com/users/lh-import/following{/other_user}","gists_url":"https://api.github.com/users/lh-import/gists{/gist_id}","starred_url":"https://api.github.com/users/lh-import/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lh-import/subscriptions","organizations_url":"https://api.github.com/users/lh-import/orgs","repos_url":"https://api.github.com/users/lh-import/repos","events_url":"https://api.github.com/users/lh-import/events{/privacy}","received_events_url":"https://api.github.com/users/lh-import/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":2202,"state":"open","created_at":"2013-10-11T20:56:23Z","updated_at":"2015-01-26T10:57:15Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-01-26T10:55:37Z","updated_at":"2015-01-26T11:48:57Z","closed_at":null,"body":"I thing it should be a good thing to add a \"compare fields\" validator.\r\nIt can be used for password and password_repeat or other examples.\r\n\r\nCompare field \"a\" with \"b\" and return error if the are equal.\r\nAlso good to add this in the docs as a good example."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/71449639","html_url":"https://github.com/cakephp/cakephp/issues/5746#issuecomment-71449639","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/5746","id":71449639,"user":{"login":"Xety","id":8210023,"avatar_url":"https://avatars.githubusercontent.com/u/8210023?v=3","gravatar_id":"","url":"https://api.github.com/users/Xety","html_url":"https://github.com/Xety","followers_url":"https://api.github.com/users/Xety/followers","following_url":"https://api.github.com/users/Xety/following{/other_user}","gists_url":"https://api.github.com/users/Xety/gists{/gist_id}","starred_url":"https://api.github.com/users/Xety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xety/subscriptions","organizations_url":"https://api.github.com/users/Xety/orgs","repos_url":"https://api.github.com/users/Xety/repos","events_url":"https://api.github.com/users/Xety/events{/privacy}","received_events_url":"https://api.github.com/users/Xety/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T11:48:57Z","updated_at":"2015-01-26T11:48:57Z","body":"@dereuromark Thank, i edited my example. ^^\r\n\r\nI also agree to add an example in docs. :+1: "}}