Is it possible to make the variable as choice in another question??. For eg, question is in dichotomous
#What are you favorite fruits?
1) banana 1 2
2) mango 1 2
3) orange 1 2
4) pineapple 1 2
5) apple 1 2
6) other 1 2
now if the next question is
#Please arrange the fruits by ranking in best preference as per your choice? (In this question only the selected fruits from above must be listed in choice) For eg: banana, orange and apple was selected previous than only those response should be shown in the choices list.
So, that the next question will appear as
fruits rank
-Banana ................
-Orange ................
-Apple ................
So, any one any idea regarding such programming in CSPro, please do share your idea about it.
CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
Forum rules
New release: CSPro 8.0
New release: CSPro 8.0
-
- Posts: 1
- Joined: June 22nd, 2017, 12:21 am
Re: CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
Hi friends,
I am facing the similar problem. I have attached the file which is priority order form.
Please give advise & suggestion too me.
Yours,
Zin Nwe
I am facing the similar problem. I have attached the file which is priority order form.
Please give advise & suggestion too me.
Yours,
Zin Nwe
- Attachments
-
- RE V2.rar
- (11.68 KiB) Downloaded 347 times
Re: CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
There is an example here:
http://teleyah.com/cspro/SouthAfricaOct ... rcises.zip
Look at CROP_RANKING
http://teleyah.com/cspro/SouthAfricaOct ... rcises.zip
Look at CROP_RANKING
Re: CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
Thank you so much josh, but is there any way to pull the open ended response in another question as choices in same way as shown in the example???
It will be more helpful if there is any possible way to convert the open ended response as a choice in another question.
It will be more helpful if there is any possible way to convert the open ended response as a choice in another question.
Re: CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
What do you mean by "open ended question"? Is it a textbox, checkboxes?
-
- Posts: 1777
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
Look at the Simple CAPI example, located here:
<your examples folder>\CSPro\Examples 7.0\1 - Data Entry\Simple CAPI
Look at PROC MAIN_LANGUAGE and see how it references the open-ended text field LANGUAGES_SPOKEN_OTHER.
<your examples folder>\CSPro\Examples 7.0\1 - Data Entry\Simple CAPI
Look at PROC MAIN_LANGUAGE and see how it references the open-ended text field LANGUAGES_SPOKEN_OTHER.
Re: CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
OK. So you can combine the Simple CAPI example with the ranking example. You just need to modify the code that builds the list of the labels to use the text from the open ended question instead of "other".
Re: CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
Thank you, josh and Gregory for the suggestion but I am not getting any example file even though i have selected the example file while downloading it. So, could you provide me the example file of CSPro 7??
Re: CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
C:\Users\<your username>\Documents\cspro\Examples 7.0
you can also get there from the Help menu in CSPro.
you can also get there from the Help menu in CSPro.
Re: CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
I followed that as well but still having the problem to get access over it. I have attached the notification photo.
- Attachments
-
- Problem in opening the example file
- Screenshot 2017-06-28 11.45.55.png (118.01 KiB) Viewed 8522 times