{"action":"created","issue":{"url":"https://api.github.com/repos/xodigital/Formerly/issues/65","repository_url":"https://api.github.com/repos/xodigital/Formerly","labels_url":"https://api.github.com/repos/xodigital/Formerly/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/xodigital/Formerly/issues/65/comments","events_url":"https://api.github.com/repos/xodigital/Formerly/issues/65/events","html_url":"https://github.com/xodigital/Formerly/pull/65","id":135597653,"number":65,"title":"Updated changes for 'Custom' type","user":{"login":"alexbrindalsl","id":6028207,"avatar_url":"https://avatars.githubusercontent.com/u/6028207?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbrindalsl","html_url":"https://github.com/alexbrindalsl","followers_url":"https://api.github.com/users/alexbrindalsl/followers","following_url":"https://api.github.com/users/alexbrindalsl/following{/other_user}","gists_url":"https://api.github.com/users/alexbrindalsl/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbrindalsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbrindalsl/subscriptions","organizations_url":"https://api.github.com/users/alexbrindalsl/orgs","repos_url":"https://api.github.com/users/alexbrindalsl/repos","events_url":"https://api.github.com/users/alexbrindalsl/events{/privacy}","received_events_url":"https://api.github.com/users/alexbrindalsl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-02-23T01:23:33Z","updated_at":"2017-02-08T03:31:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xodigital/Formerly/pulls/65","html_url":"https://github.com/xodigital/Formerly/pull/65","diff_url":"https://github.com/xodigital/Formerly/pull/65.diff","patch_url":"https://github.com/xodigital/Formerly/pull/65.patch"},"body":"I just went through and rebased our version of Fomerly onto the current version, there's still some parts of the original pull request (https://github.com/xodigital/Formerly/pull/13) not in, so thought i would just list this again (probably best not to merge directly, this isn't a clean PR).\n\nForm.html has some code example of how to use the custom type.\n\nFormerly_SubmissionElementType.php has a method to change JSON strings to a nicer format\n![screen shot 2016-02-23 at 11 39 16](https://cloud.githubusercontent.com/assets/6028207/13238533/a6549ce2-da23-11e5-81aa-71c9485925a4.png)\n![screen shot 2016-02-23 at 11 39 44](https://cloud.githubusercontent.com/assets/6028207/13238534/a65922bc-da23-11e5-9db8-5f7658cf82d4.png)\n\njsonProcessCoded adds the JSON variables to template access.\n\nHopefully that's clearer :) - i've done nothing to make these better - probably would be good to make the array output formatter to use more complicated formatting, maybe lists or a table... something to handle nesting better - but for our purposes this works.\n"},"comment":{"url":"https://api.github.com/repos/xodigital/Formerly/issues/comments/278219587","html_url":"https://github.com/xodigital/Formerly/pull/65#issuecomment-278219587","issue_url":"https://api.github.com/repos/xodigital/Formerly/issues/65","id":278219587,"user":{"login":"mnoack","id":35966,"avatar_url":"https://avatars.githubusercontent.com/u/35966?v=3","gravatar_id":"","url":"https://api.github.com/users/mnoack","html_url":"https://github.com/mnoack","followers_url":"https://api.github.com/users/mnoack/followers","following_url":"https://api.github.com/users/mnoack/following{/other_user}","gists_url":"https://api.github.com/users/mnoack/gists{/gist_id}","starred_url":"https://api.github.com/users/mnoack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnoack/subscriptions","organizations_url":"https://api.github.com/users/mnoack/orgs","repos_url":"https://api.github.com/users/mnoack/repos","events_url":"https://api.github.com/users/mnoack/events{/privacy}","received_events_url":"https://api.github.com/users/mnoack/received_events","type":"User","site_admin":false},"created_at":"2017-02-08T03:31:13Z","updated_at":"2017-02-08T03:31:13Z","body":"@wiso1234 Could you close this PR as it's dead. What I would like to know is, we've rebased a branch of this on our repo, would you be willing to accept a PR for just the component that presents JSON strings in the UI nicely?"}}
{"actor":{"display_login":"mnoack"}}