{"action":"created","issue":{"url":"https://api.github.com/repos/18F/govt-wide-patternlibrary/issues/13","labels_url":"https://api.github.com/repos/18F/govt-wide-patternlibrary/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/18F/govt-wide-patternlibrary/issues/13/comments","events_url":"https://api.github.com/repos/18F/govt-wide-patternlibrary/issues/13/events","html_url":"https://github.com/18F/govt-wide-patternlibrary/issues/13","id":86618676,"number":13,"title":"Feature request: Forms","user":{"login":"vz3","id":582918,"avatar_url":"https://avatars.githubusercontent.com/u/582918?v=3","gravatar_id":"","url":"https://api.github.com/users/vz3","html_url":"https://github.com/vz3","followers_url":"https://api.github.com/users/vz3/followers","following_url":"https://api.github.com/users/vz3/following{/other_user}","gists_url":"https://api.github.com/users/vz3/gists{/gist_id}","starred_url":"https://api.github.com/users/vz3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vz3/subscriptions","organizations_url":"https://api.github.com/users/vz3/orgs","repos_url":"https://api.github.com/users/vz3/repos","events_url":"https://api.github.com/users/vz3/events{/privacy}","received_events_url":"https://api.github.com/users/vz3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/18F/govt-wide-patternlibrary/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/18F/govt-wide-patternlibrary/labels/feature%20request","name":"feature request","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-09T14:29:10Z","updated_at":"2015-06-11T23:32:19Z","closed_at":null,"body":"In the case of openFOIA, we've got medium to large forms:\r\n* For potential future implementation: FOIA request submission. Audience: FOIA requesters.\r\n* Currently being implemented: Contact update form. Audience: Government agencies.\r\n\r\nBecause the second one is the only one that has been fully fleshed out, I will go into more detail.\r\n\r\n## Features+Description\r\n\r\n* Many fields, many of which are pre-populated but may need to be edited/updated (label and input field layout become very important here)\r\n* About a 40/60 split required vs optional elements (do we mark optional? do we mark required?)\r\n* Validation of phone numbers, zip codes, email, URLs (how and when do we display errors?)\r\n* For some (yes unfortunate) instances, many dozens of fields to navigate. DOJ for instance has 38-sub agencies, each with 16-17 fields. How do users navigate this? (See [one solution](https://github.com/18F/foia-hub/issues/723#issuecomment-101425567\r\n) in the openFOIA contact updater mockup)\r\n* Contextual information. If a field needs further explanation, how do we show that info?\r\n* Nudges. If a field is optional but we want to nudge users to submit information, how do we do that?\r\n\r\nA relatively recent mockup [can be seen on the openFOIA repo](https://github.com/18F/foia-hub/issues/723#issuecomment-101425567). Error messages have been moved to below the fields, as the right side of the fields are used for contextual information."},"comment":{"url":"https://api.github.com/repos/18F/govt-wide-patternlibrary/issues/comments/111306203","html_url":"https://github.com/18F/govt-wide-patternlibrary/issues/13#issuecomment-111306203","issue_url":"https://api.github.com/repos/18F/govt-wide-patternlibrary/issues/13","id":111306203,"user":{"login":"emilyville","id":1307774,"avatar_url":"https://avatars.githubusercontent.com/u/1307774?v=3","gravatar_id":"","url":"https://api.github.com/users/emilyville","html_url":"https://github.com/emilyville","followers_url":"https://api.github.com/users/emilyville/followers","following_url":"https://api.github.com/users/emilyville/following{/other_user}","gists_url":"https://api.github.com/users/emilyville/gists{/gist_id}","starred_url":"https://api.github.com/users/emilyville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilyville/subscriptions","organizations_url":"https://api.github.com/users/emilyville/orgs","repos_url":"https://api.github.com/users/emilyville/repos","events_url":"https://api.github.com/users/emilyville/events{/privacy}","received_events_url":"https://api.github.com/users/emilyville/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T23:32:19Z","updated_at":"2015-06-11T23:32:19Z","body":"And another, that is public facing for people (veterans) to create a resume\r\nhttp://department-of-veterans-affairs.github.io/employment-center/create.html\r\n![screen shot 2015-06-11 at 4 28 56 pm](https://cloud.githubusercontent.com/assets/1307774/8120718/61c0ceca-1057-11e5-9fd7-93158cb7c90c.png)\r\n![screen shot 2015-06-11 at 4 29 43 pm](https://cloud.githubusercontent.com/assets/1307774/8120719/64b333b6-1057-11e5-987f-6df175fb8749.png)\r\n"}}