Multiple choices variable
Multiple choices variable
How do we implement multiple choice variables in the dictionary in order for them to appear as checkboxes in the form?
Best
Ari
Ari
Re: Multiple choices variable
From the help when you search for checkbox:
Variable: TECHNOLOGY, Type: Alpha, Length: 3
Value set:
You can see an example in the Simple CAPI application that you will find in C:\Program Files (x86)\CSPro 6.3\Examples\1 - Data Entry\Simple CAPI
For more info here are some lecture notes from a workshop that covered checkboxes: http://teleyah.com/cspro/DCJune2015/04-CAPI/04-CAPI.pdf
What this means is in your dictionary make the variable alpha and set the length to the maximum number of responses that the user will be allowed to select. Then make a value set where each response has a single character. For example:Check Box
Check Boxes are used to capture multiple response variables. Items using check boxes must be alphanumeric. Each value in the value set corresponds to one of the responses and will be displayed as a separate check box. When the boxes are checked, the corresponding values will be put into the alphanumeric field, from left to right. The length of the field must be a multiple of the maximum length of a response. For example, if each response code is one character and you have five responses, then a field of length five would allow for the selection of all responses. A field of length two would allow for only two responses (e.g., "pick the top two...").
Variable: TECHNOLOGY, Type: Alpha, Length: 3
Value set:
- Radio - A
TV - B
Computer - C
You can see an example in the Simple CAPI application that you will find in C:\Program Files (x86)\CSPro 6.3\Examples\1 - Data Entry\Simple CAPI
For more info here are some lecture notes from a workshop that covered checkboxes: http://teleyah.com/cspro/DCJune2015/04-CAPI/04-CAPI.pdf