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
-
subash
- Posts: 26
- Joined: March 3rd, 2016, 5:49 am
- Location: Nepal
-
Zin Nwe Aung
- 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
You do not have the required permissions to view the files attached to this post.
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
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
-
subash
- Posts: 26
- Joined: March 3rd, 2016, 5:49 am
- Location: Nepal
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.
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: CHANGE VARIABLE INTO CHOICE OPTION IN ANOTHER QUESTION
What do you mean by "open ended question"? Is it a textbox, checkboxes?
-
Gregory Martin
- Posts: 1948
- 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.
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
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".
-
subash
- Posts: 26
- Joined: March 3rd, 2016, 5:49 am
- Location: Nepal
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??
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
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.
-
subash
- Posts: 26
- Joined: March 3rd, 2016, 5:49 am
- Location: Nepal
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.
You do not have the required permissions to view the files attached to this post.