{"action":"created","issue":{"url":"https://api.github.com/repos/opendatakit/opendatakit/issues/1166","labels_url":"https://api.github.com/repos/opendatakit/opendatakit/issues/1166/labels{/name}","comments_url":"https://api.github.com/repos/opendatakit/opendatakit/issues/1166/comments","events_url":"https://api.github.com/repos/opendatakit/opendatakit/issues/1166/events","html_url":"https://github.com/opendatakit/opendatakit/issues/1166","id":101600319,"number":1166,"title":"ODK Validate does not validate if the variable is used before it is defined!","user":{"login":"hjameelq","id":11791359,"avatar_url":"https://avatars.githubusercontent.com/u/11791359?v=3","gravatar_id":"","url":"https://api.github.com/users/hjameelq","html_url":"https://github.com/hjameelq","followers_url":"https://api.github.com/users/hjameelq/followers","following_url":"https://api.github.com/users/hjameelq/following{/other_user}","gists_url":"https://api.github.com/users/hjameelq/gists{/gist_id}","starred_url":"https://api.github.com/users/hjameelq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjameelq/subscriptions","organizations_url":"https://api.github.com/users/hjameelq/orgs","repos_url":"https://api.github.com/users/hjameelq/repos","events_url":"https://api.github.com/users/hjameelq/events{/privacy}","received_events_url":"https://api.github.com/users/hjameelq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-18T08:27:40Z","updated_at":"2015-08-18T17:21:23Z","closed_at":null,"body":"Hi,\r\n\r\nI couldn't upload excel file or so, but I have used here a variable before it is defined, and it didn't throw up any problem when I tried to validate the form, but the server didn't accept to upload it due to xform def problems.\r\n\r\nPlease have a look at pic attached, I 'm sorry I couldn't upload the excel file.\r\n\r\n\r\n![odk-issue](https://cloud.githubusercontent.com/assets/11791359/9325579/11b852f2-459c-11e5-8a34-48e309cd9706.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/opendatakit/opendatakit/issues/comments/132286189","html_url":"https://github.com/opendatakit/opendatakit/issues/1166#issuecomment-132286189","issue_url":"https://api.github.com/repos/opendatakit/opendatakit/issues/1166","id":132286189,"user":{"login":"mitchellsundt","id":2281171,"avatar_url":"https://avatars.githubusercontent.com/u/2281171?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellsundt","html_url":"https://github.com/mitchellsundt","followers_url":"https://api.github.com/users/mitchellsundt/followers","following_url":"https://api.github.com/users/mitchellsundt/following{/other_user}","gists_url":"https://api.github.com/users/mitchellsundt/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellsundt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellsundt/subscriptions","organizations_url":"https://api.github.com/users/mitchellsundt/orgs","repos_url":"https://api.github.com/users/mitchellsundt/repos","events_url":"https://api.github.com/users/mitchellsundt/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellsundt/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T17:21:23Z","updated_at":"2015-08-18T17:21:23Z","body":"See my attempt at duplicating this form here: \r\n\r\nhttps://drive.google.com/file/d/0ByL2Z0RJHwGaaEFodGpmUUpLck0/view?usp=sharing\r\n\r\nThis works both for uploading to ODK Aggregate and for downloading, filling out, and running."}}