{"action":"created","issue":{"url":"https://api.github.com/repos/sheadawson/silverstripe-zenvalidator/issues/29","repository_url":"https://api.github.com/repos/sheadawson/silverstripe-zenvalidator","labels_url":"https://api.github.com/repos/sheadawson/silverstripe-zenvalidator/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/sheadawson/silverstripe-zenvalidator/issues/29/comments","events_url":"https://api.github.com/repos/sheadawson/silverstripe-zenvalidator/issues/29/events","html_url":"https://github.com/sheadawson/silverstripe-zenvalidator/issues/29","id":57948741,"number":29,"title":"displayIf (display-logic) doesn't work when using validateIf","user":{"login":"brasileric","id":6453793,"avatar_url":"https://avatars.githubusercontent.com/u/6453793?v=3","gravatar_id":"","url":"https://api.github.com/users/brasileric","html_url":"https://github.com/brasileric","followers_url":"https://api.github.com/users/brasileric/followers","following_url":"https://api.github.com/users/brasileric/following{/other_user}","gists_url":"https://api.github.com/users/brasileric/gists{/gist_id}","starred_url":"https://api.github.com/users/brasileric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brasileric/subscriptions","organizations_url":"https://api.github.com/users/brasileric/orgs","repos_url":"https://api.github.com/users/brasileric/repos","events_url":"https://api.github.com/users/brasileric/events{/privacy}","received_events_url":"https://api.github.com/users/brasileric/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-02-17T16:47:05Z","updated_at":"2016-10-10T21:06:28Z","closed_at":"2016-10-10T21:06:28Z","body":"Hi,\r\nI use this moduel in together with the display-logic module. But is I do this:\r\n\r\n        $ProductSpecificationOtherField = TextField::create('ProductSpecificationOther', 'Other');\r\n        $ProductSpecificationOtherField->validateIf('ProductSpecification')->isEqualTo('99999');\r\n        $ProductSpecificationOtherField->displayIf(\"ProductSpecification\")->isEqualTo('99999');\r\n\r\nThe field doesn't appear anymore when the value of ProductSpecification is 99999. If I use validateIf and displayIf separate from each other, they both work well."},"comment":{"url":"https://api.github.com/repos/sheadawson/silverstripe-zenvalidator/issues/comments/252746396","html_url":"https://github.com/sheadawson/silverstripe-zenvalidator/issues/29#issuecomment-252746396","issue_url":"https://api.github.com/repos/sheadawson/silverstripe-zenvalidator/issues/29","id":252746396,"user":{"login":"sheadawson","id":1166136,"avatar_url":"https://avatars.githubusercontent.com/u/1166136?v=3","gravatar_id":"","url":"https://api.github.com/users/sheadawson","html_url":"https://github.com/sheadawson","followers_url":"https://api.github.com/users/sheadawson/followers","following_url":"https://api.github.com/users/sheadawson/following{/other_user}","gists_url":"https://api.github.com/users/sheadawson/gists{/gist_id}","starred_url":"https://api.github.com/users/sheadawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheadawson/subscriptions","organizations_url":"https://api.github.com/users/sheadawson/orgs","repos_url":"https://api.github.com/users/sheadawson/repos","events_url":"https://api.github.com/users/sheadawson/events{/privacy}","received_events_url":"https://api.github.com/users/sheadawson/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T21:06:28Z","updated_at":"2016-10-10T21:06:28Z","body":"Yeap, no longer relevant because we have removed frontend logic"}}
{"actor":{"display_login":"sheadawson"}}