{"action":"opened","issue":{"url":"https://api.github.com/repos/perak/kitchen-site/issues/237","repository_url":"https://api.github.com/repos/perak/kitchen-site","labels_url":"https://api.github.com/repos/perak/kitchen-site/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/perak/kitchen-site/issues/237/comments","events_url":"https://api.github.com/repos/perak/kitchen-site/issues/237/events","html_url":"https://github.com/perak/kitchen-site/issues/237","id":132154632,"number":237,"title":"Error message upon clicking a button","user":{"login":"xauxatz","id":10164465,"avatar_url":"https://avatars.githubusercontent.com/u/10164465?v=3","gravatar_id":"","url":"https://api.github.com/users/xauxatz","html_url":"https://github.com/xauxatz","followers_url":"https://api.github.com/users/xauxatz/followers","following_url":"https://api.github.com/users/xauxatz/following{/other_user}","gists_url":"https://api.github.com/users/xauxatz/gists{/gist_id}","starred_url":"https://api.github.com/users/xauxatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xauxatz/subscriptions","organizations_url":"https://api.github.com/users/xauxatz/orgs","repos_url":"https://api.github.com/users/xauxatz/repos","events_url":"https://api.github.com/users/xauxatz/events{/privacy}","received_events_url":"https://api.github.com/users/xauxatz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-08T14:21:27Z","updated_at":"2016-02-08T14:21:27Z","closed_at":null,"body":"Hi -\r\n\r\nWhat is the best way to go about this?\r\nI have a dataview where it is possible to click a button to insert new elements.\r\nHowever, a check is carried out if the \"add new\" button is clicked.\r\nIf the check fails, I want to write an error message - either on the screen or as a popup.\r\nI cannot see how I can modify the HTML to create a place for the message to be displayed."}}