radio button multiple choice

Discussions about CSEntry
Post Reply
hamouda1987
Posts: 9
Joined: June 14th, 2016, 7:16 am

radio button multiple choice

Post by hamouda1987 »

Hello everybody
I have an issue that i need a help please
in Question 1 : choose car (radio button)
1-renault
2-BMW
3-ford
in Question 2 : choose your car model (radio buttons)
1-clio
2-fiesta
3-fusion
i want when we choose in question 1 a car type ,we can see only in question 2 the appropriate car model (for example the clio is just for renault not ford not BMW.
Sincerly
Best regards
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: radio button multiple choice

Post by josh »

This is what we generally refer to as a "cascading question". The answer from the first question determines the possible responses for the second question. To do this you should use the setvalueset function in your program logic.

There is a section in the CAPI getting started guide that shows a simple example of setvalueset. Look at section 4 in the following document: http://www.census.gov/population/intern ... tarted.pdf

The following lecture notes cover more advanced scenarios:
http://teleyah.com/cspro/DCJune2015/04-CAPI/04-CAPI.pdf
http://teleyah.com/cspro/DCJune2015/05- ... -entry.pdf
hamouda1987
Posts: 9
Joined: June 14th, 2016, 7:16 am

Re: radio button multiple choice

Post by hamouda1987 »

thank you so much Mr josh !!
You are the best
Kind regards
tchiekou
Posts: 1
Joined: September 16th, 2016, 11:54 am

Re: radio button multiple choice

Post by tchiekou »

please josh can you pos all the course (session 1 session 2 and above...) of thiese couse for me . thank
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: radio button multiple choice

Post by josh »

All the sessions are there. Just go to http://teleyah.com/cspro/DCJune2015/ to see the list.
Post Reply