Checkbox with multiple response

Discussions about CSEntry
Post Reply
samdyk
Posts: 3
Joined: March 25th, 2016, 3:52 am

Checkbox with multiple response

Post by samdyk »

Hi CSPro Users,

I design a form and want to use checkbox on but it cant get more than 9 answers. My questions is

What is your occupation? Multiple Responses

Value Label
1 Student
2 Teacher
3 Seller
4 Taxi Driver
5 Accountant
6 Designer
7 Technician
8 Chef
9 Waiter / Waitress
10 Government Employee
88 Others

I set record item as alpha and 10 length. but it won't show as checkbox if i keep 10 & 88 option. if i keep only 1-9 option it working fine.

What should i do to fix it? i try to search in this forum but not see answer.

Thanks
Samdy
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Checkbox with multiple response

Post by josh »

The length of the checkbox variable must be greater or equal to the number of responses that the user is allowed to select. Since you have 11 options you will need to increase the length of the variable. Note that using a 2 digit code in a checkbox is a bit complicated (search on this forum for checkbox and you will see many discussions about it). I would recommend using A and B for the last two options instead of 10 and 88 to keep all your codes one digit. If you want to use two digits then you will need to make all your codes two digits ('01', '02', '03'...) and double the length of the variable - length 22 in your case to accommodate 11 options.
Cecilius
Posts: 6
Joined: July 19th, 2016, 12:59 pm

Re: Checkbox with multiple response

Post by Cecilius »

good idea: http://csprousers.org/forum/viewtopic.p ... kbox#p1993

let me know if you served, I turned me excellent ... just custion assigning letters and numbers.

N * 2 increases the length and ready
Post Reply