{"action":"created","issue":{"url":"https://api.github.com/repos/Cambatv/camba.tv/issues/6","labels_url":"https://api.github.com/repos/Cambatv/camba.tv/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Cambatv/camba.tv/issues/6/comments","events_url":"https://api.github.com/repos/Cambatv/camba.tv/issues/6/events","html_url":"https://github.com/Cambatv/camba.tv/issues/6","id":112386383,"number":6,"title":"alterations to forms on camba.tv","user":{"login":"rossom","id":4725787,"avatar_url":"https://avatars.githubusercontent.com/u/4725787?v=3","gravatar_id":"","url":"https://api.github.com/users/rossom","html_url":"https://github.com/rossom","followers_url":"https://api.github.com/users/rossom/followers","following_url":"https://api.github.com/users/rossom/following{/other_user}","gists_url":"https://api.github.com/users/rossom/gists{/gist_id}","starred_url":"https://api.github.com/users/rossom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossom/subscriptions","organizations_url":"https://api.github.com/users/rossom/orgs","repos_url":"https://api.github.com/users/rossom/repos","events_url":"https://api.github.com/users/rossom/events{/privacy}","received_events_url":"https://api.github.com/users/rossom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"asimism","id":5477165,"avatar_url":"https://avatars.githubusercontent.com/u/5477165?v=3","gravatar_id":"","url":"https://api.github.com/users/asimism","html_url":"https://github.com/asimism","followers_url":"https://api.github.com/users/asimism/followers","following_url":"https://api.github.com/users/asimism/following{/other_user}","gists_url":"https://api.github.com/users/asimism/gists{/gist_id}","starred_url":"https://api.github.com/users/asimism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asimism/subscriptions","organizations_url":"https://api.github.com/users/asimism/orgs","repos_url":"https://api.github.com/users/asimism/repos","events_url":"https://api.github.com/users/asimism/events{/privacy}","received_events_url":"https://api.github.com/users/asimism/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-20T14:52:02Z","updated_at":"2015-11-09T10:07:49Z","closed_at":null,"body":"Hi\r\n\r\nFirstly, apologies for flip flopping on this. We have recently had some people fill the form in on our site with just their name (and no contact details) - which is a wasted lead.\r\n\r\nSO we need to make at least one of the contact fields Phone or Email compulsory.\r\n\r\nIf they fill neither in, I'd like them to get a pop up saying\r\n\r\n\"We require either your phone number or email address to contact you\"\r\n\r\nIf they have entered an email address in but it's an odd format, such as missing an \"@\" symbol, or not having a domain at the end, ideally they would get a warning stating this. \r\n\r\nSimilarly if they have filled a phone number in but it contains less than 7 digits, or characters outside of \"0-9 + () -\" then they should get a warning stating this.\r\n\r\nDoes that all sound ok? Happy to discuss further at your convenience - would possibly make sense to do this with the other work on site over the coming days?\r\n\r\nCheers\r\n\r\nRoss."},"comment":{"url":"https://api.github.com/repos/Cambatv/camba.tv/issues/comments/155018102","html_url":"https://github.com/Cambatv/camba.tv/issues/6#issuecomment-155018102","issue_url":"https://api.github.com/repos/Cambatv/camba.tv/issues/6","id":155018102,"user":{"login":"alinerotta","id":15102047,"avatar_url":"https://avatars.githubusercontent.com/u/15102047?v=3","gravatar_id":"","url":"https://api.github.com/users/alinerotta","html_url":"https://github.com/alinerotta","followers_url":"https://api.github.com/users/alinerotta/followers","following_url":"https://api.github.com/users/alinerotta/following{/other_user}","gists_url":"https://api.github.com/users/alinerotta/gists{/gist_id}","starred_url":"https://api.github.com/users/alinerotta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinerotta/subscriptions","organizations_url":"https://api.github.com/users/alinerotta/orgs","repos_url":"https://api.github.com/users/alinerotta/repos","events_url":"https://api.github.com/users/alinerotta/events{/privacy}","received_events_url":"https://api.github.com/users/alinerotta/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T10:07:49Z","updated_at":"2015-11-09T10:07:49Z","body":"Hi @asimism whenever you have time this week can you hale a look at this ? People are still able to submit the form without filling any information.\r\nRegards, \r\n\r\nAline."}}