Page 1 of 1

radio button multiple choice

Posted: June 14th, 2016, 7:24 am
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

Re: radio button multiple choice

Posted: June 14th, 2016, 1:42 pm
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

Re: radio button multiple choice

Posted: June 14th, 2016, 5:04 pm
by hamouda1987
thank you so much Mr josh !!
You are the best
Kind regards

Re: radio button multiple choice

Posted: September 21st, 2016, 9:01 am
by tchiekou
please josh can you pos all the course (session 1 session 2 and above...) of thiese couse for me . thank

Re: radio button multiple choice

Posted: September 21st, 2016, 2:45 pm
by josh
All the sessions are there. Just go to http://teleyah.com/cspro/DCJune2015/ to see the list.