Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long versus Short version of question options #43

Open
drnikko opened this issue Jun 2, 2018 · 0 comments
Open

Long versus Short version of question options #43

drnikko opened this issue Jun 2, 2018 · 0 comments

Comments

@drnikko
Copy link
Owner

drnikko commented Jun 2, 2018

Problem:
Some questions like age have a long and short version of their options.

Note: there's a lot of work to do on this, and the scope of this issue is only how to distinguish between the long and short set. Other parts of the schema are reviewed in other issues.

Proposed solution:

         ... more stuff up here
           "id-of-this-single-question-in-this-category" : {
             "type":"select-one",
             "self-identify": "false",
             "prompt": "How old are you?",
             "choices": {
                "fullset": [
                   { "id": "019", "value": "0-19", "label": "0 - 19" },
                   { "id": "2039", "value": "20-39", "label": "20 - 39" },
                   { "id": "4059", "value": "40-59", "label": "40 - 59" },
                   { "id": "age-decline", "value": "decline", "label": "Prefer not to answer" }
               ],
             "shortset": [
               { "id": "019", "value": "0-19", "label": "0 - 19" },
               { "id": "2039", "value": "20-39", "label": "20 - 39" },
               { "id": "age-decline", "value": "decline", "label": "Prefer not to answer" }
             ]
          }
       }
 .... more stuff down here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant